You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, all custom functions run on an async server endpoint, even if they are defined as a sync function, which will block the event loop.
Instead, sync functions should behave like a sync fastapi endpoint, possibly via run_in_threadpool: tiangolo/fastapi#10768
Might need to be solved on the backend implementation though to not make this framework-dependent.
The text was updated successfully, but these errors were encountered:
Currently, all custom functions run on an async server endpoint, even if they are defined as a sync function, which will block the event loop.
Instead, sync functions should behave like a sync fastapi endpoint, possibly via
run_in_threadpool
: tiangolo/fastapi#10768Might need to be solved on the backend implementation though to not make this framework-dependent.
The text was updated successfully, but these errors were encountered: