2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-08-19 15:08:55 +08:00

Add EnqueueErrorHandler option to SchedulerOpts

This commit is contained in:
Ken Hibino
2020-10-11 10:06:28 -07:00
parent 8312515e64
commit 96b2318300
3 changed files with 85 additions and 36 deletions

View File

@@ -2993,7 +2993,7 @@ func TestWriteListClearSchedulerEntries(t *testing.T) {
Spec: "* * * * *",
Type: "foo",
Payload: nil,
Opts: "",
Opts: nil,
Next: now.Add(5 * time.Hour),
Prev: now.Add(-2 * time.Hour),
},
@@ -3001,7 +3001,7 @@ func TestWriteListClearSchedulerEntries(t *testing.T) {
Spec: "@every 20m",
Type: "bar",
Payload: map[string]interface{}{"fiz": "baz"},
Opts: "",
Opts: nil,
Next: now.Add(1 * time.Minute),
Prev: now.Add(-19 * time.Minute),
},