We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92f3903 commit 5d7df36Copy full SHA for 5d7df36
plain-jobs/plain/jobs/jobs.py
@@ -119,9 +119,9 @@ def run_in_worker(
119
# Only need to look at in progress jobs
120
# if we also have a unique key.
121
# Otherwise it's up to the user to use _in_progress()
122
- if running := self._in_progress(unique_key):
+ if self._in_progress(unique_key):
123
span.set_attribute(ERROR_TYPE, "DuplicateJob")
124
- return running
+ return None
125
126
# Is recording is not enough here... because we also record for summaries!
127
0 commit comments