Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

chore(tasks): adjust cron schedule for kv-store purge task (#1122)

Corentin Thomasset8f446be9fdb2
diff --git a/apps/papra-server/src/modules/tasks/tasks.config.ts b/apps/papra-server/src/modules/tasks/tasks.config.ts
index 176ebe19..cfc8dd22 100644
--- a/apps/papra-server/src/modules/tasks/tasks.config.ts
+++ b/apps/papra-server/src/modules/tasks/tasks.config.ts
@@ -97,7 +97,7 @@ export const tasksConfig = {
cron: {
doc: 'The cron schedule for the task to purge expired key-value store entries (only runs when the configured kv-store driver requires it, e.g. libsql)',
schema: v.string(),
- default: '0 * * * *',
+ default: '0 2 * * *',
env: 'KV_STORE_PURGE_EXPIRED_ENTRIES_CRON',
},
runOnStartup: {