mirror of https://github.com/yandex/odyssey.git
odissey: fix stats_period read number
This commit is contained in:
parent
e7e008d710
commit
fd47d42e0a
|
@ -601,7 +601,7 @@ od_configparse(od_config_t *config)
|
|||
case OD_LSTATS_PERIOD:
|
||||
if (od_confignext(config, OD_LNUMBER, &tk) == -1)
|
||||
return -1;
|
||||
config->scheme->stats_period = rc;
|
||||
config->scheme->stats_period = tk->v.num;
|
||||
continue;
|
||||
/* pooling */
|
||||
case OD_LPOOLING:
|
||||
|
|
Loading…
Reference in New Issue