diff options
| author | zhengchao <[email protected]> | 2018-11-23 17:23:48 +0800 |
|---|---|---|
| committer | zhengchao <[email protected]> | 2018-11-23 21:17:54 +0800 |
| commit | 3970d9de0410ce31a156541eb22e3a894dcf0810 (patch) | |
| tree | dcb4433ee9d9b71fec1856cf8db21418781d3a7d /platform/src/proxy.cpp | |
| parent | 88849c9890797bfdcb57b976eea090e615516c22 (diff) | |
#44 为cache和proxy设置statsd server。
Diffstat (limited to 'platform/src/proxy.cpp')
| -rw-r--r-- | platform/src/proxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp index 2d29653..f5fd20f 100644 --- a/platform/src/proxy.cpp +++ b/platform/src/proxy.cpp @@ -279,8 +279,8 @@ int tfe_stat_init(struct tfe_proxy * proxy, const char * profile) int value = 0, i = 0; screen_stat_handle_t fs_handle = NULL; - char statsd_server_ip[TFE_SYMBOL_MAX]; - char histogram_bins[TFE_SYMBOL_MAX]; + char statsd_server_ip[TFE_SYMBOL_MAX]={0}; + char histogram_bins[TFE_SYMBOL_MAX]={0}; int statsd_server_port=0; MESA_load_profile_string_def(profile, "STAT", "statsd_server", statsd_server_ip, sizeof(statsd_server_ip), ""); |
