Explorar o código

每10000数据输出一次

visuddhinanda %!s(int64=4) %!d(string=hai) anos
pai
achega
c696eb9661
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      deploy/migaration/word_statistics.php

+ 1 - 1
deploy/migaration/word_statistics.php

@@ -55,7 +55,7 @@ while($srcData = $stmtSrc->fetch(PDO::FETCH_ASSOC)){
 		exit;
 		exit;
 	}			
 	}			
 	$count++;
 	$count++;
-	if($count%1000==0){
+	if($count%10000==0){
 		echo "finished $count".PHP_EOL;
 		echo "finished $count".PHP_EOL;
 	}
 	}
 }
 }