Skip to content

Let's use AI to Earn!

feat: 1

yikaJasonMic88d8dc6c1789
diff --git a/electron/main/reply/service.ts b/electron/main/reply/service.ts
index 3b4b8f48..119f6dd6 100644
--- a/electron/main/reply/service.ts
+++ b/electron/main/reply/service.ts
@@ -5,6 +5,12 @@
* @Description: Reply reply
*/
import { Injectable } from '../core/decorators';
+import PQueue from 'p-queue';
@Injectable()
-export class ReplyService {}
+export class ReplyService {
+ replyQueue: PQueue;
+ constructor() {
+ this.replyQueue = new PQueue({ concurrency: 2 });
+ }
+}