Skip to content

Commit

Permalink
middleware,retries: drop unnecessary comment [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdanp committed Jun 12, 2024
1 parent 7f8caac commit 290eb48
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dramatiq/middleware/retries.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ def after_process_message(self, broker, message, *, result=None, exception=None)

message.options["retries"] += 1
message.options["traceback"] = traceback.format_exc(limit=30)

# Record in message options time at which it is requeued
message.options["requeue_timestamp"] = int(time.time() * 1000)

max_retries = message.options.get("max_retries") or actor.options.get("max_retries", self.max_retries)
Expand Down

0 comments on commit 290eb48

Please sign in to comment.