* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+if (!defined('STATUSNET')) {
+ exit(1);
+}
+
/**
* Send a raw PuSH atom update from our internal hub.
* @package Hub
$atom = $data['atom'];
$retries = $data['retries'];
+ assert(is_object($sub));
assert($sub instanceof HubSub);
assert(is_string($atom));
$msg = "Failed PuSH to $sub->callback for $sub->topic: " .
$e->getMessage();
if ($retries > 0) {
- common_log(LOG_ERR, "$msg; scheduling for $retries more tries");
+ common_log(LOG_INFO, "$msg; scheduling for $retries more tries");
// @fixme when we have infrastructure to schedule a retry
// after a delay, use it.