future promise支持输出到statsd。

This commit is contained in:
zhengchao
2018-11-20 20:53:11 +08:00
parent c098590167
commit 68aa07f856
6 changed files with 57 additions and 21 deletions

View File

@@ -16,7 +16,7 @@ struct key_keeper_ctx{
int main()
{
void* logger = NULL;
future_promise_library_init();
future_promise_library_init(NULL);
//struct event_base* evbase = event_base_new();
struct key_keeper * keeper = key_keeper_init("./conf/tfe.conf", "key_keeper", logger);
struct key_keeper_ctx* ctx = (struct key_keeper_ctx*)malloc(sizeof(struct key_keeper_ctx));