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

前后端不是异步的 #2

Open
rao2357 opened this issue Jun 16, 2024 · 1 comment
Open

前后端不是异步的 #2

rao2357 opened this issue Jun 16, 2024 · 1 comment

Comments

@rao2357
Copy link

rao2357 commented Jun 16, 2024

前后端不是异步的,容易被堵塞,如何解决这个问题

@smallzhong
Copy link
Owner

我前端不好,得慢慢改前端(
后端已经使用了协程,但是发大文件会导致协程阻塞好像,比如发一个50MB的大文件,协程一直阻塞在发文件上面,他让不出控制权。。这个问题可能要用分片解决,或者用线程解决,有点难搞,有空想想

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

2 participants