You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix fire-and-forget async calls causing unhandled promise rejections during shutdown
Add .catch() handlers to all fire-and-forget async calls in Worker
and Scheduler that were previously discarding Promise return values
from timer callbacks. This prevents unhandled rejections when a shared
Redis connection is closed during shutdown. Fixes#1260.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add tests for fire-and-forget error handling during shutdown
Verify that Worker and Scheduler emit errors via the "error" event
instead of causing unhandled promise rejections when Redis commands
fail during ping/poll timer callbacks.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments