diff --git a/plugin/business/pangu-http/src/pangu_web_cache.cpp b/plugin/business/pangu-http/src/pangu_web_cache.cpp index 50e720b..8f89d93 100644 --- a/plugin/business/pangu-http/src/pangu_web_cache.cpp +++ b/plugin/business/pangu-http/src/pangu_web_cache.cpp @@ -1143,7 +1143,8 @@ int web_cache_async_query(struct cache_handle* handle, unsigned int thread_id, query_ctx->ref_handle=handle; query_ctx->url=tfe_strdup(request->req_spec.url); - p=future_to_promise(f); + p=future_to_promise(f); + promise_allow_many_successes(p); promise_set_ctx(p, query_ctx, cache_query_ctx_free_cb); ATOMIC_INC(&(handle->stat_val[STAT_CACHE_QUERYING]));