diff --git a/cron/wiki_hotness.php b/cron/wiki_hotness.php index b30748d..7854394 100644 --- a/cron/wiki_hotness.php +++ b/cron/wiki_hotness.php @@ -179,10 +179,11 @@ $sth->execute( $insertData ); } - if ( $db->commit() ) + if ( $db->commit() ) { break; + } - sleep ( 1 ); + sleep( 1 ); } curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PURGE' );