Update documentation

This commit is contained in:
世界
2023-02-21 20:20:17 +08:00
parent c84a35e477
commit 8cc5f9a2bf
7 changed files with 117 additions and 2 deletions

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
}