Mailspring/packages/nylas-core/sync-policy.js
2016-07-12 09:53:04 -07:00

16 lines
290 B
JavaScript

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