Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

handle firing off more than 100 processing requests #23

Open
demiurg opened this issue Jun 11, 2021 · 0 comments
Open

handle firing off more than 100 processing requests #23

demiurg opened this issue Jun 11, 2021 · 0 comments

Comments

@demiurg
Copy link

demiurg commented Jun 11, 2021

cirrus currently maximally can handle 100 state machine invocations in one request, but we can handle more by making multiple requests to dynamodb.

The 100 limit comes from 'dynamodb:batchGetItem'

Traceback (most recent call last):
File "/var/task/cirruslib/statedb.py", line 80, in get_dbitems
'Keys': [self.catid_to_key(id) for id in catids]
File "/var/runtime/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/var/runtime/botocore/client.py", line 676, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the BatchGetItem operation
......
failed to satisfy constraint: Member must have length less than or equal to 100
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant