fix: minor retry logic cleanup

This commit is contained in:
Adhiraj Singh
2021-11-15 09:09:55 +05:30
parent 2dfe5adbe1
commit 9ed4c28b8e
2 changed files with 13 additions and 10 deletions

View File

@@ -50,6 +50,8 @@ export type SocketConfig = {
userDevicesCache?: NodeCache
/** provide a cache to store media, so does not have to be re-uploaded */
mediaCache?: NodeCache
/** map to store the retry counts for failed messages */
msgRetryCounterMap?: { [msgId: string]: number }
}
export enum DisconnectReason {