mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 23:50:00 -07:00
(minor) fix invalid PG gc query example
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user