log transport when claiming a notice

darcs-hash:20080830054933-84dde-58cc7aa6947612cda9987d532d85d9dd81e32410.gz
This commit is contained in:
Evan Prodromou 2008-08-30 01:49:33 -04:00
parent 439c14d986
commit ca1f639fd6

View File

@ -38,7 +38,7 @@ class Queue_item extends DB_DataObject
# XXX: potential race condition
# can we force it to only update if claimed is still NULL
# (or old)?
common_log(LOG_INFO, 'claiming queue item = ' . $qi->notice_id);
common_log(LOG_INFO, 'claiming queue item = ' . $qi->notice_id . ' for transport ' . $transport);
$orig = clone($qi);
$qi->claimed = common_sql_now();
$result = $qi->update($orig);