feat: add delay between retry requests

This commit is contained in:
Adhiraj Singh
2022-03-23 12:40:01 +05:30
parent b933970d51
commit 8d7fde1bf4
3 changed files with 18 additions and 4 deletions

View File

@@ -30,7 +30,8 @@ const BASE_CONNECTION_CONFIG: CommonSocketConfig<any> = {
emitOwnEvents: true,
defaultQueryTimeoutMs: 60_000,
customUploadHosts: [],
treatCiphertextMessagesAsReal: true
treatCiphertextMessagesAsReal: true,
retryRequestDelayMs: 250
}
export const DEFAULT_CONNECTION_CONFIG: SocketConfig = {