Skip to content

Commit

Permalink
Sleep for two minutes before we check feeds.
Browse files Browse the repository at this point in the history
The bot does a lot during startup (whois on all the nicks), so this change is just to lower the initial load (resulting in cleaner log file).
  • Loading branch information
sorbits committed Apr 8, 2009
1 parent 7aae40d commit bb44f5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/feed.rb
Expand Up @@ -203,6 +203,7 @@ def save(filename)

def run(out = STDOUT, filename = '/tmp/feeds.yaml', period = 30*60)
tr = Thread.new do
sleep(120)
begin
load(filename)

Expand Down

0 comments on commit bb44f5c

Please sign in to comment.