diff options
Diffstat (limited to 'lib/rainbows/thread_timeout.rb')
-rw-r--r-- | lib/rainbows/thread_timeout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/thread_timeout.rb b/lib/rainbows/thread_timeout.rb index dc34804..920270d 100644 --- a/lib/rainbows/thread_timeout.rb +++ b/lib/rainbows/thread_timeout.rb @@ -47,7 +47,7 @@ class Rainbows::ThreadTimeout @threshold == 0 and raise ArgumentError, "threshold=0 does not make sense" @threshold < 0 and - @threshold += Rainbows::G.server.worker_connections + @threshold += Rainbows.server.worker_connections end @app = app @active = {} |