Browse Source

include debug info in logs

master
Aaron Parecki 8 years ago
parent
commit
38b0aeeedf
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/PushTask.php

+ 1
- 1
lib/PushTask.php View File

@ -93,7 +93,7 @@ class PushTask {
$subscribers = ORM::for_table('subscriptions')->where('feed_id', $feed->id)->where('active', 1)->find_many();
foreach($subscribers as $s) {
echo "Queuing notification for feed_id=$feed_id subscription_id=$s->id\n";
echo "Queuing notification for feed_id=$feed_id ($feed->feed_url) subscription_id=$s->id ($s->callback_url)\n";
DeferredTask::queue('PushTask', 'notify_subscriber', [$feed_id, $s->id, db\now()]);
}

Loading…
Cancel
Save