You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/09/12 17:09:29 UTC
[GitHub] [beam] olehborysevych commented on a diff in pull request #23088: [Playground][Tour Of Beam] Datastore entities segregation
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org