les: fixed linter warning

This commit is contained in:
Zsolt Felfoldi 2019-05-30 01:06:05 +02:00
parent 77ccd372f7
commit b353e7c33f

View file

@ -260,7 +260,7 @@ func (ct *costTracker) gfLoop() {
if recentAvg > max { if recentAvg > max {
max = recentAvg max = recentAvg
} }
// we apply continous correction when MAX(recentTime, recentAvg) > threshold // we apply continuous correction when MAX(recentTime, recentAvg) > threshold
if max > threshold { if max > threshold {
// calculate correction time between last expUpdate and now // calculate correction time between last expUpdate and now
if max*exp >= threshold { if max*exp >= threshold {