mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
16 lines
290 B
JavaScript
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
|