From 498ed955f02b9cdf60c07bd9eaa39e240f4650bb Mon Sep 17 00:00:00 2001 From: Tsuki <9085560+Tsuki@users.noreply.github.com> Date: Thu, 29 Aug 2019 17:39:29 +0800 Subject: [PATCH] Update README.md example interval will be overwrite by workerSettings.Interval.SetFloat(workerSettings.IntervalFloat) in flag.go --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f273ef..8eeab3a 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ func init() { ExitOnComplete: false, Concurrency: 2, Namespace: "resque:", - Interval: 5.0, + IntervalFloat: 5.0, } goworker.SetSettings(settings) goworker.Register("MyClass", myFunc)