Skip to content

Commit 66b25b1

Browse files
committed
do not raise in case of long poll timeout
1 parent b09ee2d commit 66b25b1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cadence/activity_loop.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def activity_task_loop(worker: Worker):
3939
except Exception as ex:
4040
if f'{ex}' == "timeout":
4141
logger.warning(f"LongPoll timeout -- no tasks available to execute -- exception message: {ex}")
42+
continue
4243
logger.error("PollForActivityTask error: %s", ex)
4344
try:
4445
service.close()

0 commit comments

Comments
 (0)