What is the lifespan of continuation tokens in DocumentDb

时光怂恿深爱的人放手 提交于 2019-12-05 12:39:12

问题


I can't find anywhere in the documentation that indicates how long request continuation tokens last for DocumentDb paging support. I therefore suspect it is intentionally undefined.

In the real world, how long can I expect a token to last for? I ask this so that my app can present an error to the user when they are browsing through results that they have been started again, because the continuation token isn't valid.


回答1:


Continuation tokens in DocumentDB never expire. They encode all the state required to resume query execution.



来源:https://stackoverflow.com/questions/42264464/what-is-the-lifespan-of-continuation-tokens-in-documentdb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!