future promise支持输出到statsd。
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -225,7 +225,7 @@ int main()
|
||||
{
|
||||
char cert_store_host[TFE_STRING_MAX];
|
||||
unsigned int cert_store_port;
|
||||
future_promise_library_init();
|
||||
future_promise_library_init(NULL);
|
||||
//const char* file_path = "./log/test_tfe_rpc.log",*host="localhost";
|
||||
//void * logger = MESA_create_runtime_log_handle(file_path, RLOG_LV_INFO);
|
||||
const char* profile = "./conf/tfe.conf";
|
||||
|
||||
Reference in New Issue
Block a user