Browse Source

fix zip close, loop brake condition

main
ghost 2 years ago
parent
commit
48664f0caf
  1. 8
      crontab/crawler.php

8
crontab/crawler.php

@ -420,13 +420,13 @@ try {
// Update DB registry // Update DB registry
$hostPagesSnapAdded += $db->addHostPageSnap($queueHostPage->hostPageId, $crc32data, $time); $hostPagesSnapAdded += $db->addHostPageSnap($queueHostPage->hostPageId, $crc32data, $time);
$zip->close();
break;
} }
} }
$zip->close();
} }
break;
} }
} }
} }

Loading…
Cancel
Save