Mailspring/packages/nylas-core/sync-policy.js

16 lines
287 B
JavaScript

class SyncPolicy {
static defaultPolicy() {
return {
afterSync: 'idle',
intervals: {
active: 30 * 1000,
inactive: 120 * 1000,
},
folderSyncOptions: {
deepFolderScan: 10 * 60 * 1000,
},
};
}
}
module.exports = SyncPolicy