Workaround for SICS-596 'histmem loadconf' fails while histogram is running.

The hmm init was being issued before the histogram had actually stopped.
This commit is contained in:
Ferdi Franceschini
2014-07-17 11:01:18 +10:00
parent 22c701b816
commit bffd3ae130

View File

@ -1248,6 +1248,7 @@ proc ::histogram_memory::upload_config {filler_defaults} {
::histogram_memory::synch_tables
::histogram_memory::filler_defaults $filler_defaults
hmm astop
wait 5
hmm configure init 1
hmm init
# Restore the init level to 0