correct the comment of WithFreeDelay

This commit is contained in:
gengbing
2021-07-11 10:47:14 +08:00
parent c4183ec8a5
commit d2a0ac5e8a

View File

@@ -207,7 +207,7 @@ func WithLogger(log slog.Logger) Option {
}
}
// WithFreeDelay sets the delay time of calling OnFree. The default value is 15 seconds.
// WithFreeDelay sets the delay time of calling OnFree. The default value is 5 minutes.
func WithFreeDelay(d time.Duration) Option {
return func(mgr *PluginManagerSwapper) {
mgr.opts.freeDelay = d