Skip to content

Commit

Permalink
debug flapping test
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlovic committed Jan 28, 2018
1 parent 36e2944 commit 53aa889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,7 +1,7 @@
language: go
sudo: false
go:
- 1.8.5
#- 1.8.5
- 1.9.2
install:
- go get -t ./...
Expand Down
1 change: 1 addition & 0 deletions stores/filestore.go
Expand Up @@ -2800,6 +2800,7 @@ func (ms *FileMsgStore) backgroundTasks() {
}

// Check for expiration
fmt.Printf("@@IK: maxAge=%v nextExpiration=%v timeTick=%v\n", maxAge, nextExpiration, timeTick)
if maxAge > 0 && nextExpiration > 0 && timeTick >= nextExpiration {
ms.Lock()
// Expire messages
Expand Down

0 comments on commit 53aa889

Please sign in to comment.