Relax reading of parity history file

This commit is contained in:
bergware
2022-02-27 03:12:16 +01:00
parent 791fa242d8
commit 59367e5cbd
+2 -2
View File
@@ -38,8 +38,8 @@ session_destroy();
function new_parity_log($log,$timestamp) {
global $timer;
// check every 30s
if (time()-$timer < 30) return false;
// check once a minute
if (time()-$timer < 60) return false;
$timer = time();
if (file_exists($log)) {
$handle = fopen($log, 'r');