mac-cain13 / notificato

Takes care of Apple push notifications (APNS) in your PHP projects.
MIT License
224 stars 44 forks source link

Execution time #49

Closed pedro380085 closed 9 years ago

pedro380085 commented 9 years ago

Hi,

Everytime I execute the function, I get:

Fatal error: Maximum execution time of 30 seconds exceeded in ..../Wrep/Notificato/Apns/Gateway.php on line 173

The push notification is sent, but the server code never resumes. It just keeps running until our server maximum settings.

mac-cain13 commented 9 years ago

Thanks for using Notificato!

Can you show me what function you execute in what way? Some code would be really useful!

Some other questions that could help me see what's going on:

pedro380085 commented 9 years ago

Hi @mac-cain13 ,

I believe is some kind of error on Apple servers.

Thank you,

pedro380085 commented 9 years ago

Any news on that @mac-cain13 ?

pedro380085 commented 9 years ago

I stopped using the library, it doesn't work for me.

mac-cain13 commented 9 years ago

Sad to hear and sorry to see your go! I can't reproduce the issue over here, want to look further into it, but I'm short on time at this moment.

Hope you can find a good working solutions for your pushnotifications!

pedro380085 commented 9 years ago

Solved!

mac-cain13 commented 9 years ago

What solved it for you? Another lib or something fixed in this lib?

pedro380085 commented 9 years ago

A crazy long execution time (5 minutes).

mac-cain13 commented 9 years ago

Alright, thanks for letting me know!