Compare commits
2 Commits
141c0e5100
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 439c481c60 | |||
| 0a58f85ca3 |
+3
-1
@@ -160,7 +160,7 @@ func (s S) collectGarbage(ctx context.Context) error {
|
||||
ms < 100
|
||||
OR ok
|
||||
)
|
||||
`, time.Now().Add(-1*30*24*time.Hour).Unix()); err != nil {
|
||||
`, time.Now().Add(-1*2*24*time.Hour).Unix()); err != nil {
|
||||
log.Println("!", err)
|
||||
}
|
||||
}
|
||||
@@ -251,6 +251,8 @@ func (s S) pingAndRecord(ctx context.Context) error {
|
||||
}
|
||||
if err == nil {
|
||||
conn.Close()
|
||||
} else {
|
||||
log.Println("!", err)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user