blob: fd28fb3d871564f44ceb31ca1615308be2efec32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- pecl/memcache/branches/NON_BLOCKING_IO/memcache.c 2012/10/31 08:49:59 328201
+++ pecl/memcache/branches/NON_BLOCKING_IO/memcache.c 2012/10/31 12:27:09 328202
@@ -1836,7 +1836,9 @@
request = mmc_pool_request(pool, MMC_PROTO_TCP, mmc_stats_handler, stats, NULL, NULL TSRMLS_CC);
pool->protocol->stats(request, type, slabid, limit);
- mmc_pool_schedule(pool, pool->servers[i], request TSRMLS_CC);
+ if (mmc_pool_schedule(pool, pool->servers[i], request TSRMLS_CC) == MMC_OK) {
+ mmc_pool_run(pool TSRMLS_CC);
+ }
}
/* execute all requests */
|