Skip to content

Commit

Permalink
fix(worker): Fix bug in timed task (#86045)
Browse files Browse the repository at this point in the history
This was causing tasks to fail in the sandbox.
  • Loading branch information
evanh authored Feb 28, 2025
1 parent 7483da5 commit 5922b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/taskworker/tasks/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ def at_most_once_task() -> None:

@exampletasks.register(name="examples.timed")
def timed_task(sleep_seconds: int) -> None:
sleep(sleep_seconds)
sleep(int(sleep_seconds))
logger.info("timed_task complete")

0 comments on commit 5922b2d

Please sign in to comment.