mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
ethdb: updates to pr
This commit is contained in:
parent
a8155f3d25
commit
f4e30cc00c
1 changed files with 1 additions and 2 deletions
|
|
@ -16,8 +16,7 @@
|
||||||
|
|
||||||
package ethdb
|
package ethdb
|
||||||
|
|
||||||
// IdealBatchSize is the amount of data vode using batches should try to add to the batch.
|
// IdealBatchSize is the amount of data batches should accumulate before flushing.
|
||||||
// The value was determined empirically.
|
|
||||||
const IdealBatchSize = 100 * 1024
|
const IdealBatchSize = 100 * 1024
|
||||||
|
|
||||||
// Putter wraps the database write operation supported by both batches and regular databases.
|
// Putter wraps the database write operation supported by both batches and regular databases.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue