git-svn-id: svn://db.shs.com.ru/pip@197 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2016-05-16 17:20:04 +00:00
parent 5a21b4951e
commit eca82075e7

View File

@@ -172,7 +172,7 @@ void PIDiagnostics::changeDisconnectTimeout(float disct) {
// if (disct != disconn_) {
disconn_ = piMaxf(disct, interval() / 1000.f);
int hist_size = piMaxi(int(disconn_ * 1000. / interval()), 1);
//piCoutObj << hist_size << interval();
piCoutObj << hist_size << interval();
history_rec.resize(hist_size);
history_send.resize(hist_size);
// }