Class: Thin::GaptoolRunner
- Inherits:
-
Runner
- Object
- Runner
- Thin::GaptoolRunner
- Defined in:
- bin/gaptool-server
Instance Method Summary collapse
-
#initialize(argv) ⇒ GaptoolRunner
constructor
A new instance of GaptoolRunner.
Constructor Details
#initialize(argv) ⇒ GaptoolRunner
Returns a new instance of GaptoolRunner.
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'bin/gaptool-server', line 9 def initialize(argv) @argv = argv # Default options values @options = { :chdir => File.('..', File.dirname(__FILE__)), :environment => ENV['RACK_ENV'] || 'development', :address => '0.0.0.0', :port => Server::DEFAULT_PORT, :timeout => Server::DEFAULT_TIMEOUT, :log => 'log/thin.log', :pid => 'tmp/pids/thin.pid', :max_conns => Server::DEFAULT_MAXIMUM_CONNECTIONS, :max_persistent_conns => Server::DEFAULT_MAXIMUM_PERSISTENT_CONNECTIONS, :require => [], :wait => Controllers::Cluster::DEFAULT_WAIT_TIME } parse! end |