Comments (5)
@JankinHou 试试我写的这个springboot中间件 支持多账号切换 提高了并发 支持代理 https://github.com/ljjy1/discord-mj-java
from midjourney-api.
我是这样解决的,任务完成后清一下队列
util/_queue.py
def _exec(self):
key, task = self._wait_queue.popleft().popitem()
self._concur_queue.append(key)
logger.debug(f"Task[{key}] start execution: {task}")
loop = asyncio.get_running_loop()
tsk = loop.create_task(task())
tsk.add_done_callback(
lambda t: self._concur_queue.remove(key)
)
from midjourney-api.
触发mj的敏感词后,队列会一直占用不会释放
from midjourney-api.
触发mj的敏感词后,队列会一直占用不会释放
应该不是敏感词。我还在测试阶段,一天偶尔测几次,并没有什么敏感词啊
from midjourney-api.
from midjourney-api.
Related Issues (20)
- 🐛 触发mj的敏感词后,队列会一直占用不会释放,导致请求堵塞
- upscale无法工作 HOT 5
- 请求支持局部重绘Variant Region功能 HOT 2
- 🐛 运行task_bot.py报错:ModuleNotFoundError: No module named 'dotenv'
- Banned prompt: a cute cat
- 🐛 现在不能使用了吗? HOT 6
- 没有触发敏感词,mj一直没法工作,也没有监听,重启下就好了,这是为什么
- blend功能需求🐛
- 【公益项目】希望接入,免费 API 绘图,全功能,全开源,Midjourney Proxy🐛
- 🐛 variation 并发问题
- 关于局部重绘的一些想法🐛 HOT 1
- Midjourney account bloced🐛 HOT 2
- 🐛Stopped working after the last midjourney update, are there any solutions HOT 4
- 🐛 discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized HOT 1
- 🐛 on_message 事件不会触发。
- 调用文生图没收到回调信息 HOT 4
- Banned prompt:
- 🐛 我拿不到用户token HOT 3
- 🐛 Hardcoded ID Issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from midjourney-api.