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