Skip to content

Commit 5012021

Browse files
dividehexbheesham
authored andcommitted
IAM-1778: Bump worker/segment count to 128 on profile retrieval service
1 parent 474de22 commit 5012021

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

python-modules/cis_identity_vault/cis_identity_vault/parallel_dynamo.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ def scan(
5555
logger.debug("Creating new threads and queue.")
5656
result_queue = queue.Queue()
5757

58-
pool_size = 24
59-
max_segments = 24
58+
# The worker pool size should be equal to the max_segments. Ideally we want one segment per worker.
59+
pool_size = 128
60+
max_segments = 128
6061

6162
users = []
6263
last_evaluated_key = None

0 commit comments

Comments
 (0)