1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Added no-floating-promises eslint rule

This commit is contained in:
Laurent Cozic
2020-11-25 14:40:25 +00:00
parent a37f84e988
commit 9b64c1fbdb
45 changed files with 116 additions and 104 deletions

View File

@ -154,11 +154,11 @@ export default class ResourceService extends BaseService {
const service = this.instance();
service.maintenanceTimer1_ = shim.setTimeout(() => {
service.maintenance();
void service.maintenance();
}, 1000 * 30);
service.maintenanceTimer2_ = shim.setInterval(() => {
service.maintenance();
void service.maintenance();
}, 1000 * 60 * 60 * 4);
}