Logging term used HubSub instead of WebSub.

This commit is contained in:
Mikael Nordfeldth 2017-08-07 00:19:12 +02:00
parent 090f4a9474
commit 20801a32f7
1 changed files with 3 additions and 3 deletions

View File

@ -58,12 +58,12 @@ class HubOutQueueHandler extends QueueHandler
$success = $sub->push($atom); $success = $sub->push($atom);
// The reason I split these up is because I want to see how the algorithm acts in practice. // The reason I split these up is because I want to see how the algorithm acts in practice.
if ($success) { if ($success) {
common_debug('HubSub push completed successfully!'); common_debug('WebSub push completed successfully!');
} else { } else {
common_debug('HubSub push failed with an HTTP error.'); common_debug('WebSub push failed with an HTTP error.');
} }
if ($sub->getErrors()>0) { if ($sub->getErrors()>0) {
common_debug('Resetting HubSub push error count following successful reset.'); common_debug('Resetting WebSub push error count following successful reset.');
$sub->resetErrors(); $sub->resetErrors();
} }
} catch (AlreadyFulfilledException $e) { } catch (AlreadyFulfilledException $e) {