Class: Granache::Http::Configuration

Inherits:
Grenache::Configuration
  • Object
show all
Defined in:
lib/grenache/http/configurable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
11
12
# File 'lib/grenache/http/configurable.rb', line 8

def initialize
  set_bool :thin_threaded, params, false
  set_val :thin_threadpool_size, params, 0
  super
end

Instance Attribute Details

#thin_threadedObject

thin server



6
7
8
# File 'lib/grenache/http/configurable.rb', line 6

def thin_threaded
  @thin_threaded
end

#thin_threadpool_sizeObject

thin server



6
7
8
# File 'lib/grenache/http/configurable.rb', line 6

def thin_threadpool_size
  @thin_threadpool_size
end