mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 23:50:00 -07:00
fix http double close
* fix docs and examples
This commit is contained in:
2
dist/example_config_pg.yaml
vendored
2
dist/example_config_pg.yaml
vendored
@@ -69,7 +69,7 @@ storage:
|
||||
address_column: address
|
||||
port_column: port
|
||||
|
||||
# queries to get/increment 'snached' (downloaded) count
|
||||
# queries to get/increment 'snatched' (downloaded) count
|
||||
downloads:
|
||||
get_query: SELECT downloads FROM mo_downloads where info_hash=@info_hash
|
||||
inc_query: INSERT INTO mo_downloads VALUES(@info_hash) ON CONFLICT(info_hash) DO UPDATE SET downloads = mo_downloads.downloads + 1
|
||||
|
||||
Reference in New Issue
Block a user