good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit f66f1a16 authored by aaronbuchwald's avatar aaronbuchwald Committed by GitHub
Browse files

eth/filters: fix comment on PublicFilterAPI timeoutLoop (#22782)

parent ff75b21f
Branches
Tags
No related merge requests found
......@@ -72,8 +72,8 @@ func NewPublicFilterAPI(backend Backend, lightMode bool, timeout time.Duration)
return api
}
// timeoutLoop runs every 5 minutes and deletes filters that have not been recently used.
// Tt is started when the api is created.
// timeoutLoop runs at the interval set by 'timeout' and deletes filters
// that have not been recently used. It is started when the API is created.
func (api *PublicFilterAPI) timeoutLoop(timeout time.Duration) {
var toUninstall []*Subscription
ticker := time.NewTicker(timeout)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment