Skip to content

Commit

Permalink
calm the scrape jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Jun 8, 2024
1 parent b9ced30 commit a3bd2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-api/src/workers/playerSyncWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export async function processJob(job: Job<IGameServerQueueData>) {
);

const res = await Promise.allSettled(promises);
await playerSyncGateway.pushAdd({ jobName: gameServerId });
await playerSyncGateway.push({ jobName: 'playerSync' });

for (const r of res) {
if (r.status === 'rejected') {
Expand Down

0 comments on commit a3bd2a6

Please sign in to comment.