1
0
Эх сурвалжийг харах

Reduce to batches of 100,000 keys

Gwyneth Llewelyn 7 жил өмнө
parent
commit
663c41bd0f
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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
 
 /*