1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-27 04:35:25 +00:00

Decrease max retry time to three seconds

This commit is contained in:
Asher 2019-04-11 14:58:29 -05:00
parent 7047be859c
commit 8f62b2bff2
No known key found for this signature in database
GPG Key ID: 7BB4BA9C783D2BBC

View File

@ -75,7 +75,7 @@ export class Retry {
// Times are in seconds.
private readonly retryMinDelay = 1;
private readonly retryMaxDelay = 10;
private readonly retryMaxDelay = 3;
private readonly maxImmediateRetries = 5;
private readonly retryExponent = 1.5;
private blocked: string | boolean | undefined;