We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc95654 commit 7930569Copy full SHA for 7930569
1 file changed
packages/ws-worker/src/util/send-event.ts
@@ -55,6 +55,11 @@ export const sendEvent = <T>(
55
if (!allowRetryOntimeout || thisAttempt >= timeoutRetryCount) {
56
report(new LightningTimeoutError(event));
57
} else {
58
+ // TODO at the moment, this retry logic all shares the same timeout,
59
+ // where the timeout is controlled by the event processor
60
+ // When we want to restore retries, we need to retry in the event
61
+ // processor - not here
62
+ // This actually feels cleaner and easier to test anyway
63
logger.warn(
64
`${runId} event ${event} timed out, will retry in ${timeoutRetryDelay}ms (attempt ${
65
thisAttempt + 1
0 commit comments