Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…al/ayuskey into develop
  • Loading branch information
yupix committed Sep 30, 2023
2 parents f90fc76 + 0908d20 commit cc2c3d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/migration/jobqueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const queueRedisConf: Queue.QueueOptions = {
},
prefix: "ayuskey_next",
limiter: {
max: 150,
max: 1000,
duration: 1000,
},
};
Expand Down
2 changes: 1 addition & 1 deletion src/migration/noteWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { AyuskeyNextEntities } from "@/v13/models";
const cluster = require('cluster');

async function main() {
const numWorkers = 16;
const numWorkers = 20;

if (cluster.isPrimary) {
for (let i = 0; i < numWorkers; i++) {
Expand Down

0 comments on commit cc2c3d4

Please sign in to comment.