summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/batch.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins/batch.py')
-rw-r--r--ipalib/plugins/batch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/plugins/batch.py b/ipalib/plugins/batch.py
index a5907791d..5455340b2 100644
--- a/ipalib/plugins/batch.py
+++ b/ipalib/plugins/batch.py
@@ -80,6 +80,8 @@ class batch(Command):
def execute(self, *args, **options):
results=[]
+ if len(args[0]) > 256:
+ raise errors.BatchRequestLimitError(limit=256)
for arg in args[0]:
try:
a = arg['params'][0]