Skip to content
Source
Sign inSign up
pingdotgg/t3code

Increase Effect RPC ping timeout for large snapshots #3817

ClosedPearcekieser(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/3817/headopened View on GitHub

Showing 2 changed files with 2 additions and 1 deletion.

x
0 of 2 viewed, 2 left
2 additions and 1 deletionpatches/effect@4.0.0-beta.78.patchModified
View file
@@ -298,7 +298,8 @@
recievedPong = false;
- return writePing;
+ return (hooks?.onPing ?? Effect.void).pipe(Effect.andThen(writePing));
- }).pipe(Effect.delay("5 seconds"), Effect.ignore, Effect.forever, Effect.interruptible, Effect.forkScoped);
+- }).pipe(Effect.delay("5 seconds"), Effect.ignore, Effect.forever, Effect.interruptible, Effect.forkScoped);
++ }).pipe(Effect.delay("60 seconds"), Effect.ignore, Effect.forever, Effect.interruptible, Effect.forkScoped);
return {
timeout: latch.await,
@@ -820,6 +849,11 @@ export const makeProtocolWorker = options => Protocol.make(Effect.fnUntraced(fun
pnpm-lock.yamlModified
View file