A UNIX epoch date expressed in seconds (UTC) that identifies when the
notification is no longer valid and can be discarded.
If this value is non-zero, APNs stores the notification tries to deliver
the notification at least once. Specify zero to indicate that the
notification expires immediately and that APNs should not store the
notification at all.
- I assume a low TTL or 0 forces APNS to immediately attempt sending it(but didn't see documentation of what it does, exactly). Also, the master branch of uniqush has updated support for TTL=0 and V2 of the APNS binary protocol.
If you set the TTL to a larger value today, do you still have that problem?
https://stackoverflow.com/questions/32866191/push-notifications-take-too-long-to-arrive/32874633#32874633 may help, haven't looked at the answer in much detail.
If it's still happening, try again by downloading the master branch of https://github.com/uniqush/uniqush-push , fetching new dependencies, and compiling that, and deploying the new binary