Rewrite cache loader to async framework (#1193)

Fixes #1188
This commit is contained in:
Alex Kremer
2024-02-20 19:24:49 +00:00
committed by GitHub
parent 27fe35a2d1
commit 190b5c6a37
21 changed files with 947 additions and 472 deletions

View File

@@ -52,15 +52,6 @@
"max_requests": 20, // Max connections per IP per sweep interval
"sweep_interval": 1 // Time in seconds before resetting max_fetches and max_requests
},
"cache": {
// Comma-separated list of peer nodes that Clio can use to download cache from at startup
"peers": [
{
"ip": "127.0.0.1",
"port": 51234
}
]
},
"server": {
"ip": "0.0.0.0",
"port": 51233,