Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

并发请求会导致请求阻塞 #32

Open
LeoQuote opened this issue Jul 4, 2023 · 0 comments
Open

并发请求会导致请求阻塞 #32

LeoQuote opened this issue Jul 4, 2023 · 0 comments

Comments

@LeoQuote
Copy link
Collaborator

LeoQuote commented Jul 4, 2023

复现方式

  1. 创建一个 sleep 的任务
[sleep]
time_limit = 10
exec = sleep 5
  1. 请求两次 sleep 任务

预期

两次请求都是 5 秒响应时间

实际

一个 5 秒, 一个 10秒, 代表后面的请求是需要排队的.

这个问题会造成一些依赖 redarrow 的 redarrow 任务无法完成, 因为循环依赖.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant