response cost
This commit is contained in:
parent
a07ef5d654
commit
986e1f5d83
|
@ -712,6 +712,7 @@ proc syncWorker[A, B](man: SyncManager[A, B], index: int) {.async: (raises: [Can
|
|||
await man.syncStep(index, peer)
|
||||
man.pool.release(peer)
|
||||
peer = nil
|
||||
else:
|
||||
man.pool.release(peer)
|
||||
peer = nil
|
||||
finally:
|
||||
|
|
|
@ -24,7 +24,7 @@ const
|
|||
## Allow syncing ~64 blocks/sec (minus request costs)
|
||||
blobResponseCost = allowedOpsPerSecondCost(1000)
|
||||
## Multiple can exist per block, they are much smaller than blocks
|
||||
dataColumnResponseCost = allowedOpsPerSecondCost(32000)
|
||||
dataColumnResponseCost = allowedOpsPerSecondCost(1000)
|
||||
## 1 blob has an equivalent memory of 8 data columns
|
||||
|
||||
type
|
||||
|
|
Loading…
Reference in New Issue