mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 15:40:01 -07:00
(minor) fix invalid PG gc query example
This commit is contained in:
2
dist/example_config.yaml
vendored
2
dist/example_config.yaml
vendored
@@ -234,7 +234,7 @@ mochi:
|
||||
# query for check if database is alive
|
||||
#ping_query: SELECT 1
|
||||
# query for garbage collection, expected parameter is timestamp
|
||||
#gc_query: DELETE FROM mo_peers WHERE created > $1
|
||||
#gc_query: DELETE FROM mo_peers WHERE created <= $1
|
||||
# The amount of time until a peer is considered stale.
|
||||
# To avoid churn, keep this slightly larger than `announce_interval`
|
||||
#peer_lifetime: 31m
|
||||
|
||||
Reference in New Issue
Block a user