antifix(backend-ender):use msg timestamp
This commit is contained in:
parent
c476e41bb0
commit
8f0524a2f6
1 changed files with 2 additions and 1 deletions
|
|
@ -299,7 +299,8 @@ func (b *builder) checkTimeouts(ts int64) bool {
|
|||
b.buildPerformanceTrackAggr()
|
||||
}
|
||||
|
||||
lastTsGap := ts - b.lastProcessedTimestamp
|
||||
lastTsGap := ts - int64(b.timestamp)
|
||||
//b.lastProcessedTimestamp
|
||||
//log.Printf("checking timeouts for sess %v: %v now, %v sesstime; gap %v",b.sid, ts, b.timestamp, lastTsGap)
|
||||
if lastTsGap > intervals.EVENTS_SESSION_END_TIMEOUT {
|
||||
if rm := b.ddDetector.Build(); rm != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue