Description
While reviewing the source code I noticed that this Doc API is incorrect:
/// <remarks>An expiration of 0 is treated as an infinite.</remarks>
|
When an expiry of 0 is passed to the getandlock operation, the server will not hold the lock for infinite, instead it will lock it for the server side default time which is 15 seconds:
$ cbstats localhost:11210 all | grep getl
|
ep_getl_default_timeout: 15
|
ep_getl_max_timeout: 30
|