Fix email sync (#5132)
This commit is contained in:
@ -55,9 +55,11 @@ export class CacheStorageService {
|
||||
return this.get(key).then((res: string[]) => {
|
||||
if (res) {
|
||||
this.set(key, res.slice(0, -size));
|
||||
|
||||
return res.slice(-size);
|
||||
}
|
||||
|
||||
return res;
|
||||
return [];
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
export const GMAIL_USERS_MESSAGES_GET_BATCH_SIZE = 50;
|
||||
export const GMAIL_USERS_MESSAGES_GET_BATCH_SIZE = 10;
|
||||
|
||||
Reference in New Issue
Block a user