From a6a8fafcf59bd3e1cae31b650c6567d7dcbb4976 Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Mon, 2 Jan 2023 12:38:42 +0000 Subject: [PATCH] prune readme --- README.md | 9 +++++++++ todo.md | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b56ae0..bcdabc7 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,15 @@ services: retries: 5 ``` +#### Pruning + +An automatic database prune job that removed repeating values can be scheduled by adding a cron schedule to the config: +``` +database: + dsn: "/config/watch.db" + prune: "@every 1h" +``` + ### Proxy GoWatch has some basic proxy support, using the config we can point GoWatch to a proxy server: diff --git a/todo.md b/todo.md index 4d27b5e..06b6fd2 100644 --- a/todo.md +++ b/todo.md @@ -10,5 +10,4 @@ - add kube yaml example? - organize docs? - disable gin debug -- add favicon -- db prune readme \ No newline at end of file +- add favicon \ No newline at end of file