chenbiao há 2 anos atrás
pai
commit
5a91ad99f5

+ 4 - 4
midjourney/src/main/java/com/yhlxj/service/midjourney/impl/MidjourneyServiceImpl.java

@@ -177,7 +177,7 @@ public class MidjourneyServiceImpl implements MidjourneyService {
         properties.put("messageContent","**" + prompt + "** - <@mj>" + modeStr);
         MjVersionStatus mjVersionStatus = MJ_VERSION_STATUS_MAP.get(mjVersionStatusKey);
         int count = 1;
-        long second = 1000 * 60L;
+        long second = 1000 * 120L;
         if (mjVersionStatus != null) {
             second = Math.max(mjVersionStatus.getMillisecond(), second);
         }
@@ -259,7 +259,7 @@ public class MidjourneyServiceImpl implements MidjourneyService {
         Map<String, Object> properties = result.getProperties();
         MjVersionStatus mjVersionStatus = MJ_VERSION_STATUS_MAP.get(mode == 1 ? "v6-fast-model" : "v6-relax-model");
         int count = 1;
-        long second = 1000 * 60L;
+        long second = 1000 * 120L;
         if (mjVersionStatus != null) {
             second = Math.max(mjVersionStatus.getMillisecond(), second);
         }
@@ -301,7 +301,7 @@ public class MidjourneyServiceImpl implements MidjourneyService {
         properties.put("messageContent","**"+prompt+"** - <@mj>" + modeStr);
         MjVersionStatus mjVersionStatus = MJ_VERSION_STATUS_MAP.get(mjVersionStatusKey);
         int count = 1;
-        long second = 1000 * 60L;
+        long second = 1000 * 120L;
         if (mjVersionStatus != null) {
             second = Math.max(mjVersionStatus.getMillisecond(), second);
         }
@@ -475,7 +475,7 @@ public class MidjourneyServiceImpl implements MidjourneyService {
         }
         MjVersionStatus mjVersionStatus = MJ_VERSION_STATUS_MAP.get(mjVersionStatusKey);
         int count = 1;
-        long second = 1000 * 60L;
+        long second = 1000 * 120L;
         if (mjVersionStatus != null) {
             second = Math.max(mjVersionStatus.getMillisecond(), second);
         }