lrf před 3 roky
rodič
revize
72c94fe3c7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/service/mission.js

+ 1 - 1
app/service/mission.js

@@ -104,7 +104,7 @@ class MissionService extends CrudService {
   async toQueue(project, data) {
     const ch = await this.mq.conn.createChannel();
     const queue = `mission/${project}`;
-    await ch.assertQueue(queue, { durable: false });
+    await ch.assertQueue(queue, { durable: true });
     await ch.sendToQueue(queue, Buffer.from(data));
     await ch.close();
   }