[messaing] improve messaging import (#4650)
* [messaging] improve full-sync fetching strategy * fix * rebase * fix * fix * fix rebase * fix * fix * fix * fix * fix * remove deletion * fix setPop with memory storage * fix pgBoss and remove unnecessary job * fix throw * fix * add timeout to ongoing sync
This commit is contained in:
@ -0,0 +1 @@
|
||||
export const GMAIL_ONGOING_SYNC_TIMEOUT = 1000 * 60 * 60; // 1 hour
|
||||
@ -0,0 +1 @@
|
||||
export const GMAIL_USERS_HISTORY_MAX_RESULT = 500;
|
||||
@ -0,0 +1 @@
|
||||
export const GMAIL_USERS_MESSAGES_GET_BATCH_SIZE = 50;
|
||||
@ -0,0 +1 @@
|
||||
export const GMAIL_USERS_MESSAGES_LIST_MAX_RESULT = 500;
|
||||
@ -0,0 +1 @@
|
||||
export const MESSAGES_TO_DELETE_FROM_CACHE_BATCH_SIZE = 1000;
|
||||
Reference in New Issue
Block a user