catalog/next: Set Entity next_update_at to 100s

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-05-20 09:55:48 +02:00
parent f2cb8c8b61
commit d326cf7cd7
@@ -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 {