krasio/pyapns_gem — pull request #1 by scraton (2012-05-04 03:29:50+00:00)
Title: Adds support to reconfigure pyapns server if it gets restarted.

Based on the discussion here: http://kbyanc.blogspot.com/2010/09/using-pyapns-with-django.html

It seems best to handle this at the low level of the pyapns gem. It will attempt to reconfigure it 4 times before failing for real.