Initializes statistics timer now.
FossilOrigin-Name: 364bfc34b9d44bf61a3b5f3e63ac74063330993a617ffa7553abdc5cab305030
This commit is contained in:
parent
832b7e358a
commit
51369dbcc6
@ -77,6 +77,10 @@ int setup_conf(struct conn * conn)
|
|||||||
mbag_set_dword(rs,CW_ITEM_REBOOT_LAST_FAILURE_TYPE, CW_REBOOT_TYPE_NOT_SUPPORTED);
|
mbag_set_dword(rs,CW_ITEM_REBOOT_LAST_FAILURE_TYPE, CW_REBOOT_TYPE_NOT_SUPPORTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
n = mbag_get(conn->config,CW_ITEM_STATISTICS_TIMER);
|
||||||
|
if (!n) {
|
||||||
|
mbag_set_word(conn->config, CW_ITEM_STATISTICS_TIMER, 120);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user