fix: event-bus-redis processor execute event before subscriber are loaded (#10823)
* fix(worker): run worker after application start * test(event-bus-redis): worker should initiate with autorun:false --------- Co-authored-by: Suki Wang <suki.wang@shoplineapp.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
Suki Wang
Oli Juhl
parent
635d026f7f
commit
6747a1564b
@@ -63,6 +63,7 @@ describe("RedisEventBusService", () => {
|
||||
{
|
||||
connection: expect.any(Object),
|
||||
prefix: "RedisEventBusService",
|
||||
autorun: false
|
||||
}
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user