Setting Couchbase obsPollInterval & obsPollMax in .NET client

拜拜、爱过 提交于 2019-12-12 05:59:20

问题


In Couchbase Java client there are obsPollInterval & obsPollMax parameters that can be set on the client. How do I set the equivalent in .NET client?

obsPollInterval & obsPollMax


回答1:


Not exactly, the two clients have slightly different implementations. The closest thing would be the ObserveTimeout configuration value which defaults to 1 minute and internally the observe will happen every 500ms until either the timeout is reached or operation succeeds.

More information regarding ObserveTimeout can be found here: http://docs.couchbase.com/couchbase-sdk-net-1.3/#appendix-configuring-the-net-client-library



来源:https://stackoverflow.com/questions/21799031/setting-couchbase-obspollinterval-obspollmax-in-net-client

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