Skip to content

Commit

Permalink
Rename queues
Browse files Browse the repository at this point in the history
  • Loading branch information
pastelsky committed Jan 3, 2024
1 parent 6cc7821 commit 95b7bc6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions server/queues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ type InstallWorkerOptions = {
additionalTypePackages: string;
};

export const installQueue = new Queue<InstallWorkerOptions>("install-package", {
connection: redisOptions,
});
export const installQueue = new Queue<InstallWorkerOptions>(
"install-package-q",
{
connection: redisOptions,
},
);

export const installQueueEvents = new QueueEvents(installQueue.name, {
connection: redisOptions,
Expand Down Expand Up @@ -90,7 +93,7 @@ type GenerateDocsWorkerOptions = {
};

export const generateDocsQueue = new Queue<GenerateDocsWorkerOptions>(
"generate-docs-package",
"generate-docs-package-q",
{
connection: redisOptions,
},
Expand All @@ -117,7 +120,7 @@ const generateDocsWorker = new Worker<GenerateDocsWorkerOptions>(
},
);

const cleanupCacheQueue = new Queue("cleanup-cache", {
const cleanupCacheQueue = new Queue("cleanup-cache-q", {
connection: redisOptions,
});

Expand Down

0 comments on commit 95b7bc6

Please sign in to comment.