Clarify comment for tick function

This commit is contained in:
Cole Brown 2018-06-15 13:56:35 -04:00
parent cfbbb58a31
commit fe121a4c3e

View File

@ -246,7 +246,7 @@ func (mgr *ttlmanager) stop() {
<-mgr.done
}
// For internal use only
// To be called by TTL manager's coroutine only.
func (mgr *ttlmanager) tick() {
mgr.RLock()
defer mgr.RUnlock()