Question

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

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top