mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 13:21:58 +08:00
Remove stale field in processor struct
This commit is contained in:
@@ -66,7 +66,6 @@ func TestProcessorSuccess(t *testing.T) {
|
||||
}
|
||||
p := newProcessor(rdbClient, 10, defaultQueueConfig, defaultDelayFunc)
|
||||
p.handler = HandlerFunc(handler)
|
||||
p.dequeueTimeout = time.Second // short time out for test purpose
|
||||
|
||||
p.start()
|
||||
for _, msg := range tc.incoming {
|
||||
@@ -150,7 +149,6 @@ func TestProcessorRetry(t *testing.T) {
|
||||
}
|
||||
p := newProcessor(rdbClient, 10, defaultQueueConfig, delayFunc)
|
||||
p.handler = HandlerFunc(handler)
|
||||
p.dequeueTimeout = time.Second // short time out for test purpose
|
||||
|
||||
p.start()
|
||||
for _, msg := range tc.incoming {
|
||||
|
Reference in New Issue
Block a user