Document use-case for slow option

Change-Id: Iec4087a896a2277179e3720d802cca101fa7ad54
This commit is contained in:
Clay Gerrard 2016-02-02 11:44:39 -08:00
parent ccdf4a9f30
commit f27ad34e1d
2 changed files with 6 additions and 4 deletions

View File

@ -526,9 +526,10 @@ set log_address /dev/log Logging directory
user swift User to run as
max_upload_time 86400 Maximum time allowed to upload an
object
slow 0 If > 0, Minimum time in seconds
for a PUT or DELETE request to
complete
slow 0 If > 0, Minimum time in seconds for a PUT or
DELETE request to complete. This is only
useful to simulate slow devices during testing
and development.
mb_per_sync 512 On PUT requests, sync file every
n MB
keep_cache_size 5242880 Largest object size to keep in

View File

@ -85,7 +85,8 @@ use = egg:swift#object
#
# slow is the total amount of seconds an object PUT/DELETE request takes at
# least. If it is faster, the object server will sleep this amount of time minus
# the already passed transaction time.
# the already passed transaction time. This is only useful for simulating slow
# devices on storage nodes during testing and development.
# slow = 0
#
# Objects smaller than this are not evicted from the buffercache once read