Explorar o código

Reduce to batches of 100,000 keys

Gwyneth Llewelyn %!s(int64=7) %!d(string=hai) anos
pai
achega
663c41bd0f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gosl.go

+ 1 - 1
gosl.go

@@ -38,7 +38,7 @@ type avatarUUID struct {
 	Grid string
 } 
 
-var BATCH_BLOCK = 1000000	// how many entries to write to the database as a block; the bigger, the faster, but the more memory it consumes
+var BATCH_BLOCK = 100000	// how many entries to write to the database as a block; the bigger, the faster, but the more memory it consumes
 							// the authors say that 100000 is way too much
 
 /*