diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-07-03 15:26:51 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-07-03 15:26:51 +0100 |
commit | 5bfb713e39fde3778f57cb33f90157fc870bf64b (patch) | |
tree | b8bbb095916a935471a2c7d16e19c263c15989c1 /lib/mauve/http_server.rb | |
parent | 4153ce040ccc82421865438a32fe7e17d9739ac6 (diff) |
Removed ability to freeze threads, since that is not used any more.
Added checks to make sure threads are run at least every two minutes.
Diffstat (limited to 'lib/mauve/http_server.rb')
-rw-r--r-- | lib/mauve/http_server.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/mauve/http_server.rb b/lib/mauve/http_server.rb index 9250b2e..54dbe14 100644 --- a/lib/mauve/http_server.rb +++ b/lib/mauve/http_server.rb @@ -204,6 +204,13 @@ module Mauve super end + # + # Since Server.start doesn't return below, we can't check when the thread was last polled. + # + def last_polled_at + Time.now + end + private # |