1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-06 09:19:22 +02:00

All: Fix database upgrade

This commit is contained in:
Laurent Cozic
2018-03-16 14:32:47 +00:00
parent 86a0e34975
commit ae9ecdad40
8 changed files with 43 additions and 26 deletions

View File

@@ -413,11 +413,7 @@ class Application extends BaseApplication {
const tags = await Tag.allWithNotes();
const resourceService = new ResourceService();
resourceService.maintenance();
setInterval(() => {
resourceService.maintenance();
}, 1000 * 60 * 60 * 4);
ResourceService.runInBackground();
this.dispatch({
type: 'TAG_UPDATE_ALL',