开发者

How to stop Push Notifications connecting to web server if about to timeout?

I currently have push notifications in my app and my app gets the notifications from a web server. Sometimes, if there are too many people trying to load the same script, it crashes the app because it times out. Is there a way of saying, if five seconds have passed, to disregard the code to get the push notifications?

Thanks,

开发者_开发问答James

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜