diff options
author | Adam Young <ayoung@redhat.com> | 2011-02-25 13:33:42 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-03-01 17:35:56 -0500 |
commit | 3f88bc1484bd6fe26fbe485d733caf77e6961fd5 (patch) | |
tree | cec4a8b56f8baab2284a59fd3c6980183144d77a /ipalib | |
parent | 510eb79ff4590b21706cd699345fbfaf76250e58 (diff) | |
download | freeipa-3f88bc1484bd6fe26fbe485d733caf77e6961fd5.tar.gz freeipa-3f88bc1484bd6fe26fbe485d733caf77e6961fd5.tar.xz freeipa-3f88bc1484bd6fe26fbe485d733caf77e6961fd5.zip |
Revert "Set hard limit on number of commands in batch request to 256."
This reverts commit 79d22f8341026450ba7ca564e24812c9351c7e70.
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/errors.py | 17 | ||||
-rw-r--r-- | ipalib/plugins/batch.py | 2 |
2 files changed, 0 insertions, 19 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py index e1d85c75d..53554b77e 100644 --- a/ipalib/errors.py +++ b/ipalib/errors.py @@ -1471,23 +1471,6 @@ class NotRegisteredError(ExecutionError): format = _('Not registered yet') -class BatchRequestLimitError(ExecutionError): - """ - **4307** Raised when a batch request contains too many commands - - For example: - >>> raise BatchRequestLimitError(limit=128) - Traceback (most recent call last): - ... - BatchRequestLimitError: Too many commands in request, limit is 128 - - """ - - errno = 4307 - format = _('Too many commands in request, limit is %(limit)s') - - - ############################################################################## # 5000 - 5999: Generic errors diff --git a/ipalib/plugins/batch.py b/ipalib/plugins/batch.py index 10277ceba..29dcc6648 100644 --- a/ipalib/plugins/batch.py +++ b/ipalib/plugins/batch.py @@ -80,8 +80,6 @@ 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] |