mirror of
https://github.com/safing/portmaster
synced 2025-09-01 10:09:11 +00:00
Fix comment for linter
This commit is contained in:
parent
89dfbf72e6
commit
0f2e3cdb2f
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func (rrCache *RRCache) Expired() bool {
|
|||
return rrCache.TTL <= time.Now().Unix()
|
||||
}
|
||||
|
||||
// Expired returns whether the record will expire soon and should already be refreshed.
|
||||
// ExpiresSoon returns whether the record will expire soon and should already be refreshed.
|
||||
func (rrCache *RRCache) ExpiresSoon() bool {
|
||||
return rrCache.TTL <= time.Now().Unix()+refreshTTL
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue