Skip to content

Commit d37f282

Browse files
committed
misc.
Signed-off-by: Yves Bastide <yves@botify.com>
1 parent edfca5a commit d37f282

File tree

1 file changed

+2
-1
lines changed
  • simpleflow/swf/process/worker

1 file changed

+2
-1
lines changed

simpleflow/swf/process/worker/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ def process(
150150
kwargs = input.get("kwargs", {})
151151
context = sanitize_activity_context(task.context)
152152
context["domain_name"] = poller.domain.name
153+
context["task_list"] = poller.task_list
153154
if input.get("meta", {}).get("binaries"):
154155
download_binaries(input["meta"]["binaries"])
155156
result = ActivityTask(
@@ -284,7 +285,7 @@ def worker_alive():
284285
except simpleflow.swf.mapper.exceptions.RateLimitExceededError as error:
285286
# ignore rate limit errors: high chances the next heartbeat will be
286287
# ok anyway, so it would be stupid to break the task for that
287-
logger.warning(
288+
logger.info(
288289
f'got a "ThrottlingException / Rate exceeded" when heartbeating for task {task.activity_type.name}:'
289290
f" {error}"
290291
)

0 commit comments

Comments
 (0)