Commit 130a07cb authored by Steven Allen's avatar Steven Allen

reduce provide workers to 6

This'll back up the queue but take a large load off the DHT.
parent 98550f76
...@@ -53,7 +53,7 @@ const ( ...@@ -53,7 +53,7 @@ const (
var ( var (
HasBlockBufferSize = 256 HasBlockBufferSize = 256
provideKeysBufferSize = 2048 provideKeysBufferSize = 2048
provideWorkerMax = 512 provideWorkerMax = 6
// the 1<<18+15 is to observe old file chunks that are 1<<18 + 14 in size // the 1<<18+15 is to observe old file chunks that are 1<<18 + 14 in size
metricsBuckets = []float64{1 << 6, 1 << 10, 1 << 14, 1 << 18, 1<<18 + 15, 1 << 22} metricsBuckets = []float64{1 << 6, 1 << 10, 1 << 14, 1 << 18, 1<<18 + 15, 1 << 22}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment