Skip to content

Commit 5214f34

Browse files
committed
set batch size of inserts on hashlist creation to 5000
1 parent fc2292f commit 5214f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inc/utils/HashlistUtils.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ public static function createHashlist($name, $isSalted, $isSecret, $isHexSalted,
879879
$preFound++;
880880
}
881881
$bufferCount++;
882-
if ($bufferCount >= 10000) {
882+
if ($bufferCount >= 5000) {
883883
$result = Factory::getHashFactory()->massSave($values);
884884
$added += $result->rowCount();
885885
$values = array();

0 commit comments

Comments
 (0)