[OpenSIPS-Users] Memcache and increment/decrement

andrei dragus andreidragus at yahoo.com
Mon Oct 19 21:34:57 CEST 2009


Right now OpenSIPS does not have increment/decrement functions, primarily because memcached support is offered via the generic memcache API.

If you really need to do this, you could use a fetch followed by a store, though this may cause race conditions. 

>  
> Hi,
> 
> 
> 
> I know memcache itself has options for to increment and
> decrement
> values, does openSIPs have this? Ive looked everywhere and
> can not find
> anything, this could be very useful for many types of
> custom scripts.
> 
> 
> 
> Thanks
> 
> 



      



More information about the Users mailing list