Skip to content

Commit

Permalink
Remove queue name from config
Browse files Browse the repository at this point in the history
  • Loading branch information
llun committed Sep 2, 2024
1 parent 66554ea commit 98feefa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/config/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ export const getQueueConfig = (): { queue: QueueConfig } | null => {
currentSigningKey: process.env
.ACTIVITIES_QUEUE_CURRENT_SIGNING_KEY as string,
nextSigningKey: process.env
.ACTIVITIES_QUEUE_NEXT_SIGNING_KEY as string,
queueName: process.env.ACTIVITIES_QUEUE_NAME as string
.ACTIVITIES_QUEUE_NEXT_SIGNING_KEY as string
}
}
default:
Expand Down
3 changes: 1 addition & 2 deletions lib/services/queue/qstash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ export const QStashConfig = z.object({
url: z.string().url(),
token: z.string(),
currentSigningKey: z.string(),
nextSigningKey: z.string(),
queueName: z.string()
nextSigningKey: z.string()
})
export type QStashConfig = z.infer<typeof QStashConfig>

Expand Down

0 comments on commit 98feefa

Please sign in to comment.