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

Update api.py 同步方法异步化,防止请求之间在服务层相互阻塞,增加api调用的并发性能 #1340

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Jul 18, 2023

  1. Update api.py

    同步方法异步化,增加api调用的并发性能,防止请求之间在服务层相互阻塞
    aleimu committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    044cf32 View commit details
    Browse the repository at this point in the history
  2. Update api.py

    简洁一些,用库里的函数to_thread
    aleimu committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    6ba39b4 View commit details
    Browse the repository at this point in the history