armooo/cloudprint — pull request #58 by richvdh (2013-06-26 22:43:32+00:00)
Title: Poll for new jobs via HTTP as well as listening for XMPP notifications

This is an attempt to work around issue #48 - in particular, by polling for jobs via the REST API as well as listening for XMPP notifications.

It also attempts to keep the XMPP connection alive by sending keepalives, and will reconnect it if it fails.