Răsfoiți Sursa

Merge branch 'master' into imprv/7142-improve-post-ephemeral-error-message-for-grw-backward-compatibility

Taichi Masuyama 4 ani în urmă
părinte
comite
076cc28778

+ 1 - 0
packages/app/.env.development

@@ -10,6 +10,7 @@ MONGO_URI="mongodb://mongo:27017/growi"
 # REDIS_URI="http://redis:6379"
 # REDIS_URI="http://redis:6379"
 # NCHAN_URI="http://nchan"
 # NCHAN_URI="http://nchan"
 ELASTICSEARCH_URI="http://elasticsearch:9200/growi"
 ELASTICSEARCH_URI="http://elasticsearch:9200/growi"
+ELASTICSEARCH_REQUEST_TIMEOUT=15000
 HACKMD_URI="http://localhost:3010"
 HACKMD_URI="http://localhost:3010"
 HACKMD_URI_FOR_SERVER="http://hackmd:3000"
 HACKMD_URI_FOR_SERVER="http://hackmd:3000"
 # DRAWIO_URI="http://localhost:8080/?offline=1&https=0"
 # DRAWIO_URI="http://localhost:8080/?offline=1&https=0"

+ 1 - 1
packages/slackbot-proxy/src/controllers/slack.ts

@@ -215,7 +215,7 @@ export class SlackCtrl {
 
 
     // forward to GROWI server
     // forward to GROWI server
     if (relationsForBroadcastUse.length > 0) {
     if (relationsForBroadcastUse.length > 0) {
-      this.sendCommand(growiCommand, relationsForBroadcastUse, body);
+      return this.sendCommand(growiCommand, relationsForBroadcastUse, body);
     }
     }
 
 
     // when all of GROWI disallowed
     // when all of GROWI disallowed