increase upload concurrency

This commit is contained in:
pinks 2023-10-23 02:39:19 +02:00
parent a35f07b036
commit dfa94e219d
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ export async function processUploadQueue() {
// delete the status message
await bot.api.deleteMessage(state.replyMessage.chat.id, state.replyMessage.message_id)
.catch(() => undefined);
}, { concurrency: 3 });
}, { concurrency: 10 });
uploadWorker.addEventListener("error", (e) => {
error(`Upload failed for ${formatUserChat(e.detail.job.state)}: ${e.detail.error}`);