Replace slowdown option with *_per_second option
container and object updaters sleeps "slowdown" (default 0.01) seconds after every processed container/object. Because time.sleep call adds overhead, use ratelimit_sleep from common.utils instead. Same as in auditor. Change-Id: I362aa0f13c78ad03ce1f76ee0257b0646f981212
This commit is contained in:
@@ -185,7 +185,11 @@ use = egg:swift#recon
|
||||
# node_timeout = 3
|
||||
# conn_timeout = 0.5
|
||||
#
|
||||
# slowdown will sleep that amount between containers
|
||||
# Send at most this many container updates per second
|
||||
# containers_per_second = 50
|
||||
#
|
||||
# slowdown will sleep that amount between containers. Deprecated; use
|
||||
# containers_per_second instead.
|
||||
# slowdown = 0.01
|
||||
#
|
||||
# Seconds to suppress updating an account that has generated an error
|
||||
|
||||
Reference in New Issue
Block a user