aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-11-21 14:31:38 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-11-21 14:31:38 +0000
commit168f0246efa678b87fe531c0e5406df962dff6ca (patch)
treec4943787206f197416d0620fab42de89a1056cf1 /lib
parent160dd02cdf4683cad36b91e59153dde1785508cc (diff)
Added a server sleep to make sure doesn't spam the logs too much.
Diffstat (limited to 'lib')
-rw-r--r--lib/mauve/server.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mauve/server.rb b/lib/mauve/server.rb
index 630a201..755cc66 100644
--- a/lib/mauve/server.rb
+++ b/lib/mauve/server.rb
@@ -292,6 +292,11 @@ module Mauve
end
end
+
+ #
+ # Add a few seconds sleep. The server only needs to do these self checks once every few seconds.
+ #
+ sleep 5
end