aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/configuration_builders
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-07-05 14:00:13 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-07-05 14:00:13 +0100
commitf4c1559078f0408375551964de73a892b8a6a9be (patch)
tree2f1dd60470899ac096b3a829d43937a3526b784e /lib/mauve/configuration_builders
parent4bc9c1005cdbb14d5d310ba7674e068b2098e19c (diff)
Updated configuration for heartbeat to replace poll_every.
Removed poll_every from other classes. Updated tests to reflect this.
Diffstat (limited to 'lib/mauve/configuration_builders')
-rw-r--r--lib/mauve/configuration_builders/server.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/mauve/configuration_builders/server.rb b/lib/mauve/configuration_builders/server.rb
index 734fb3b..ea12724 100644
--- a/lib/mauve/configuration_builders/server.rb
+++ b/lib/mauve/configuration_builders/server.rb
@@ -36,8 +36,6 @@ module Mauve
is_attribute "port"
# This is the IP address the server listens on. IPv6 is OK! e.g. [::] for all addresses
is_attribute "ip"
- # This is the sleep interval for the UDP server.
- is_attribute "poll_every"
# Sets up a Mauve::UDPServer singleton as the result
#
@@ -51,8 +49,6 @@ module Mauve
# This is the thread that pulls packets from the queue for processing.
#
class Processor < ObjectBuilder
- # This is the interval between polls of the packet queue.
- is_attribute "poll_every"
# This is the timeout for the transmission cache, which allows duplicate packets to be discarded.
is_attribute "transmission_cache_expire_time"
@@ -65,12 +61,6 @@ module Mauve
end
class Notifier < ObjectBuilder
- #
- # This is the interval at which the notification queue is polled for new
- # notifications to be sent. This will not have any rate-limiting effect.
- #
- is_attribute "poll_every"
-
# Sets up a Mauve::Notifier singleton as the result
#
# @return [Mauve::Notifier]