fix: resync all collections on mainappresync

This commit is contained in:
Adhiraj Singh
2021-11-24 18:47:08 +05:30
parent aa3309db3c
commit aae2b7a559

View File

@@ -308,7 +308,13 @@ export const makeChatsSocket = (config: SocketConfig) => {
await (
mutationMutex.mutex(
() => resyncAppState([ 'critical_block', 'critical_unblock_low' ])
() => resyncAppState([
'critical_block',
'critical_unblock_low',
'regular_high',
'regular_low',
'regular'
])
)
.catch(err => (
logger.warn({ trace: err.stack }, 'failed to sync app state')