增加HTTP业务层和缓存运行状态统计。业务层状态输出到tfe.fieldstat,缓存输出到cache.fieldstat。增加缓存开关。
This commit is contained in:
@@ -12,7 +12,7 @@ enum cache_query_status
|
||||
WEB_CACHE_HIT
|
||||
};
|
||||
struct cache_handle;
|
||||
struct cache_handle* create_web_cache_handle(const char* profile_path, const char* section, void *logger);
|
||||
struct cache_handle* create_web_cache_handle(const char* profile_path, const char* section, struct event_base* gc_evbase, void *logger);
|
||||
struct cached_meta
|
||||
{
|
||||
size_t content_length;
|
||||
|
||||
Reference in New Issue
Block a user