Git Product home page Git Product logo

Comments (8)

yokonsan avatar yokonsan commented on August 30, 2024

通过日志看出,是并发队列满了但是没有释放导致的。需要正确配置:

# 绘画任务并发数
CONCUR_SIZE=3
# 任务等待队列数
WAIT_SIZE=10
# 监听 midjourney bot 处理完任务后,回调 API 服务清除队列。这个地址需要是server的 /v1/api/trigger/queue/release 地址
QUEUE_RELEASE_API=http://127.0.0.1:8062/v1/api/trigger/queue/release

from midjourney-api.

yokonsan avatar yokonsan commented on August 30, 2024

我将在这周做一次调整,可选是否启用队列开关

from midjourney-api.

zhylio avatar zhylio commented on August 30, 2024

这个是有配置的喔,我是昨天才拉取此项目的最新版本的,然后直接修改.env.template来配置的,里面是有默认监听地址那些的
image

from midjourney-api.

yokonsan avatar yokonsan commented on August 30, 2024

那你看下是不是有三个绘画任务在同时进行,有一个任务结束后,等待队列里的任务会自行触发

from midjourney-api.

zhylio avatar zhylio commented on August 30, 2024

这个自行触发是发现有的,能发现回调地址利用tid接收信息,从触发绘画任务之后等了一段时间才接收到对应的tid的信息。但是后面等了很久都没有动静,discord频道里也没有绘画任务。然后重启程序之后又可以了

from midjourney-api.

yokonsan avatar yokonsan commented on August 30, 2024

我的预想是根据自己midjourney账户,支持的并发数去配置

解决方法是把这两个值配大一点,然后确保有回调 /release

from midjourney-api.

zhylio avatar zhylio commented on August 30, 2024

那很有可能就是禁用词对应的任务一直没清出队列导致新的触发任务一直是排队状态了

from midjourney-api.

yokonsan avatar yokonsan commented on August 30, 2024

理论上不会的,出现禁用词我又做处理的

from midjourney-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.