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 b0776da commit 2b3a32cCopy full SHA for 2b3a32c
core/thread.py
@@ -315,6 +315,11 @@ async def restore_from_snooze(self):
315
- If channel was moved (move behavior), move back to original category and position.
316
Mark as not snoozed and clear snooze data.
317
"""
318
+ # Prevent concurrent unsnooze operations
319
+ if self._unsnoozing:
320
+ logger.warning(f"Unsnooze already in progress for thread {self.id}, skipping duplicate call")
321
+ return False
322
+
323
# Mark that unsnooze is in progress
324
self._unsnoozing = True
325
0 commit comments