multi_delete: limit the maximum number of objects

This introduces a config value to limit the maximum number of objects we can
delete with a multi delete request.  The default value is same as S3's one.

Change-Id: I77d404e43ba8532cbf81c680dcb82ec69b8f31cc
This commit is contained in:
MORITA Kazutaka
2014-08-12 00:43:07 +09:00
parent 151031372c
commit 94f900f03a
4 changed files with 39 additions and 6 deletions

View File

@@ -53,5 +53,6 @@ class Config(dict):
CONF = Config({
'location': 'US',
'max_bucket_listing': 1000,
'max_multi_delete_objects': 1000,
'storage_domain': '',
})