mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 08:48:32 +02:00
implement icon cache expiry, cleanup code and upgrade deps
This commit is contained in:
@@ -163,7 +163,7 @@ func (r *HTTPRoute) Start(parent task.Parent) E.Error {
|
||||
r.task.OnCancel("metrics_cleanup", r.rp.UnregisterMetrics)
|
||||
}
|
||||
|
||||
r.task.OnCancel("reset_favicon", func() { favicon.ResetIconCache(r) })
|
||||
r.task.OnCancel("reset_favicon", func() { favicon.PruneRouteIconCache(r) })
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user