(minor) fix invalid PG gc query example

This commit is contained in:
Lawrence, Rendall
2022-06-27 15:58:30 +03:00
parent 4a16fc62a0
commit 92ce0df932
3 changed files with 3 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ storage:
# Query for check if database is alive (can be omitted)
ping_query: SELECT 1
# Query to delete stale peers (peers, which timestamp older than provided argument)
gc_query: DELETE FROM mo_peers WHERE created > $1
gc_query: DELETE FROM mo_peers WHERE created <= $1
# The frequency which stale peers are removed.
gc_interval: 3m
# Query to get all info hash count (used for statistics).