catalog/next: Set Entity next_update_at to 100s
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user