+ // Time spend from last flush
+ $testTime = abs(microtime(TRUE) - $timeFlush);
+
+ // Only once per 10 seconds
+ if ($testTime >= 10) {
+ // Display message
+ print ('FLUSHING: ' . count($foundHashes) . ' total found.' . PHP_EOL);
+
+ // Write check-point
+ file_put_contents(CHECK_POINT, base64_encode($nonce) . ':' . $modulaHash . ':' . base64_encode(serialize($foundHashes)));
+
+ $timeFlush = microtime(TRUE);
+ } // END - if
+