SchizoDuckie / DuckieTV

A web application built with AngularJS to track your favorite tv-shows with semi-automagic torrent integration
http://schizoduckie.github.io/DuckieTV/
Other
1.13k stars 272 forks source link

Backupservice pops up after database wipe and first reload #847

Closed SchizoDuckie closed 7 years ago

SchizoDuckie commented 7 years ago

Kind of annoying in this workflow:

Should we introduce a new minimum time elapsed before popping this up?

garfield69 commented 7 years ago

Yes, good idea.
The auto-backup should wait at least a few minutes before launching any backup, to give time for all the startup activity to be completed.
This includes First time installation migration and series refresh, (including fanart link updates) which can take at least a couple minutes.
As well as the regular startup, where the trakt.tv update and trending cycles kick off.

garfield69 commented 7 years ago

I propose the following:

SchizoDuckie commented 7 years ago

Sounds solid. We may also need to take importing backups into account

Op 20 feb. 2017 6:40 p.m. schreef "garfield69" notifications@github.com:

I propose the following:

  • For first time DuckieTV installs (or as a result of a wipe), delay the first auto-backup run by a day. We don't need to do a backup as soon as DuckieTV has been installed, and it gives the user a chance to build their favourites.
  • When DuckieTV is started, if an auto-backup is scheduled to run, delay the launching for a minute. This allows for the regular startup processes to complete, such as the trakt.tv and fanart daily updates. It should allow for things to settle down before doing a backup, and ensures the backup has the latest DB to work with.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SchizoDuckie/DuckieTV/issues/847#issuecomment-281140997, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG0XiUAXvU5z4axFZAo96X8157wtsgHks5redAXgaJpZM4MFgeM .