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
Copy file name to clipboardExpand all lines: apps/hermes/client/js/src/HermesClient.ts
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ export class HermesClient {
63
63
schema: z.ZodSchema<ResponseData>,
64
64
options?: RequestInit,
65
65
retries=this.httpRetries,
66
-
backoff=100+Math.floor(Math.random()*100)// Adding randomness to the initial backoff to avoid "thundering herd" scenario where a lot of clients that get kicked off all at the same time (say some script or something) and fail to connect all retry at exactly the same time too
66
+
backoff=100+Math.floor(Math.random()*100),// Adding randomness to the initial backoff to avoid "thundering herd" scenario where a lot of clients that get kicked off all at the same time (say some script or something) and fail to connect all retry at exactly the same time too
0 commit comments