We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e6a1954 + 474235f commit a3510ccCopy full SHA for a3510cc
1 file changed
src/app/service/backend-api/post/post-api.service.ts
@@ -38,7 +38,7 @@ export class PostApiService {
38
const lastBackupStr = this.userService.getValue<string>('last_backup');
39
const now = new Date();
40
const lastBackup = lastBackupStr ? new Date(lastBackupStr) : null;
41
- const shouldBackup = !lastBackup || (now.getTime() - lastBackup.getTime()) > 24 * 60 * 60 * 1000;
+ const shouldBackup = !lastBackup || (now.getTime() - lastBackup.getTime()) > 4 * 60 * 60 * 1000;
42
43
if (shouldBackup) {
44
// console.log('Posting user data in the background...');
0 commit comments