9月 302011
 

前面文章提到,memcache连接失败后,15s内不会重新连接而直接返回连接失败,该问题可以通过使用addServer来指定该时间,本次修改提供了另外一种办法,即:添加ini配置,允许通过ini配置来指定该时间;修改内容如下:

php_memcache.h

memcache.c:

下面几处可以参看源码:
memcache-2.2.6.2.tar.gz

 Posted by at 上午 12:15

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据