Merge pull request #5739 from backstage/jhaals/bump-next-refresh

catalog/next: Set Entity next_update_at to 100s
This commit is contained in:
Patrik Oldsberg
2021-05-20 12:14:12 +02:00
committed by GitHub
@@ -376,8 +376,8 @@ export class DefaultProcessingDatabase implements ProcessingDatabase {
.update({
next_update_at:
tx.client.config.client === 'sqlite3'
? tx.raw(`datetime('now', ?)`, [`10 seconds`]) // TODO: test this in sqlite3
: tx.raw(`now() + interval '30 seconds'`),
? tx.raw(`datetime('now', ?)`, [`100 seconds`])
: tx.raw(`now() + interval '100 seconds'`),
});
return {