diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-10-25 22:55:16 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-10-25 23:02:01 +0000 |
commit | 9bece9d13543743e2a0fdc6eab56c54098d4d0e6 (patch) | |
tree | 3aba695efd2d28b8b034520f3c95a16ff8bdd7f7 /lib/yahns/server.rb | |
parent | b73d91e6235f2c83cb768268a6661b88cdc96d4c (diff) | |
download | yahns-9bece9d13543743e2a0fdc6eab56c54098d4d0e6.tar.gz |
pipes and eventfd are always writable after creation, thus there's no need to trigger it and watch for readability. This saves us some code in the Linux case (and we currently only support GNU/Linux).
Diffstat (limited to 'lib/yahns/server.rb')
-rw-r--r-- | lib/yahns/server.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/yahns/server.rb b/lib/yahns/server.rb index 5532666..ae3c1d7 100644 --- a/lib/yahns/server.rb +++ b/lib/yahns/server.rb @@ -345,7 +345,6 @@ class Yahns::Server # :nodoc: # monkey wrench thrown into a perfectly good engine :) def quit_finish quitter = Yahns::QueueQuitter.new - quitter.sev_signal # this will be level trigger for sustained damage! # throw the monkey wrench into the worker threads @queues.each { |q| q.queue_add(quitter, Yahns::Queue::QEV_QUIT) } |