Skip to content

Commit e327baa

Browse files
committed
fix wrong AbortSignal ctor
1 parent a43d4b1 commit e327baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/server/src/messaging/redis-subscriber.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class RedisSubscriber {
5858

5959
this.redis.on("message", async (channel: string, message: string) => {
6060
const ctx = {
61-
signal: new AbortSignal(),
61+
signal: new AbortController().signal,
6262
requestKind: "redis-subscriber",
6363
requestMethod: channel,
6464
subjectId: SubjectId.fromUserId(SYSTEM_USER),

0 commit comments

Comments
 (0)