Update documentation

This commit is contained in:
世界 committed 2023-02-21 20:54:25 +08:00
1 parent 6b9603227b
commit e99741159b
7 files changed
+117 -2

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ func NewService(ctx context.Context, router adapter.Router, logger logger.Logger
}
var interval time.Duration
if options.Interval > 0 {
interval = time.Duration(options.Interval) * time.Second
interval = time.Duration(options.Interval)
} else {
interval = 30 * time.Minute
}