olehborysevych commented on code in PR #23088:
URL: https://github.com/apache/beam/pull/23088#discussion_r968673897


##########
playground/infrastructure/helper.py:
##########
@@ -134,9 +138,17 @@ async def get_statuses(examples: List[Example]):
     """
     tasks = []
     client = GRPCClient()
-    for example in examples:
-        tasks.append(_update_example_status(example, client))
-    await tqdm.gather(*tasks)
+
+    try:
+        concurrency = int(os.environ["BEAM_CONCURRENCY"])
+        logging.info("override default concurrency: %d", concurrency)

Review Comment:
   looks like it happens everytime
   what if BEAM_CONCURRENCY not defined?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to