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:
Ondřej Nový
2017年03月21日 20:10:12 +01:00
committed by Tim Burke
parent 55075ea8be
commit a8bc94c7e3

View File

@@ -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
openstack/swift
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.