Skip to content

Commit

Permalink
fix wrong AbortSignal ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
geropl committed Nov 15, 2023
1 parent a43d4b1 commit e327baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/server/src/messaging/redis-subscriber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class RedisSubscriber {

this.redis.on("message", async (channel: string, message: string) => {
const ctx = {
signal: new AbortSignal(),
signal: new AbortController().signal,
requestKind: "redis-subscriber",
requestMethod: channel,
subjectId: SubjectId.fromUserId(SYSTEM_USER),
Expand Down

0 comments on commit e327baa

Please sign in to comment.