The /api/update-check endpoint is async but fetch_and_cache_update_status performs a blocking HTTP request via urllib. Wrap it in asyncio.to_thread to avoid blocking the FastAPI event loop when the background thread has not yet completed the initial fetch. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||