(t time.Time)
| 663 | } |
| 664 | |
| 665 | func (u *userTSDB) setLastUpdate(t time.Time) { |
| 666 | u.lastUpdate.Store(t.Unix()) |
| 667 | } |
| 668 | |
| 669 | // Checks if TSDB can be closed. |
| 670 | func (u *userTSDB) shouldCloseTSDB(idleTimeout time.Duration) tsdbCloseCheckResult { |
no test coverage detected