c - Memcached timeout -
i found sample code using libmemcached in c/c++. don't understand meaning of 2 timeout:
- memcached_timeout of memcached_behavior_set()
expire of memcached_set()
rc = memcached_behavior_set( memc_primary, memcached_behavior_connect_timeout , memcached_timeout );
rc = memcached_set( memc_primary, memcached_key_val, memcached_key_len, save_value, strlen( save_value ), expire, 0 );
could please explain used for?
thank much!
Comments
Post a Comment