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:
@@ -59,7 +59,7 @@ var cfg = Config{
|
||||
GetQuery: "SELECT value FROM mo_kv WHERE context=$1 AND name=$2",
|
||||
DelQuery: "DELETE FROM mo_kv WHERE context=$1 AND name=$2",
|
||||
},
|
||||
GCQuery: "DELETE FROM mo_peers WHERE created > $1",
|
||||
GCQuery: "DELETE FROM mo_peers WHERE created <= $1",
|
||||
InfoHashCountQuery: "SELECT COUNT(DISTINCT info_hash) as info_hashes FROM mo_peers",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user