简体   繁体   English

Google云端讯息:讯息的生命周期

[英]Google Cloud Messaging: Lifetime of a Message

does anyone knows how long Google Cloud Messaging (GCM) keeps messages in queue and try resending them if the device is not reachable for any reason? 有谁知道Google Cloud Messaging(GCM)将消息保留在队列中多长时间,如果由于某种原因无法访问设备,请尝试重新发送消息?

Can you please provide some links with the information about that? 您能否提供一些有关此信息的链接?

I have found the solution :) As they said "The default timeout is 4 weeks, unless the time_to_live flag is set.". 我找到了解决方案:)正如他们所说:“除非设置了time_to_live标志,否则默认超时为4周。”

More information about lifetime of a message can be found at http://www.mit.edu/afs.new/sipb/project/android/docs/google/gcm/adv.html 有关邮件有效期的更多信息, 参见http://www.mit.edu/afs.new/sipb/project/android/docs/google/gcm/adv.html

Hope it will save your time :) 希望它可以节省您的时间:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM