don't clear old claims

darcs-hash:20080830070135-84dde-dc0cfc8e23c31c33617aa167f7c97d443b10539d.gz
This commit is contained in:
Evan Prodromou 2008-08-30 03:01:35 -04:00
parent ac85a4b0fa
commit 136f9a4016

View File

@ -53,7 +53,6 @@ class XmppConfirmHandler {
function handle_queue() {
$this->log(LOG_INFO, 'checking for queued confirmations');
$cnt = 0;
do {
$confirm = $this->next_confirm();
if ($confirm) {
@ -82,9 +81,8 @@ class XmppConfirmHandler {
continue;
}
}
$cnt++;
} else {
$this->clear_old_confirm_claims();
# $this->clear_old_confirm_claims();
sleep(10);
}
} while (true);