Logging term used HubSub instead of WebSub.
This commit is contained in:
parent
090f4a9474
commit
20801a32f7
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user