Deactivate all extensions flag (#2206)
* feat: allow all extension deactivation * doc: updated comment * fix: make sure `register_routes` executes after installed extensions are checked * chore: code format * fix: do not run migration on deactivated extensions * fix: make sure the deactivated extension list is loaded in time * feat: register extension routes if extension never loaded before * fix: move `load_disabled_extension_list` * doc: disable by default
This commit is contained in:
@@ -54,8 +54,6 @@ async def stop_extension_background_work(
|
||||
"""
|
||||
Stop background work for extension (like asyncio.Tasks, WebSockets, etc).
|
||||
Extensions SHOULD expose a DELETE enpoint at the root level of their API.
|
||||
This function tries first to call the endpoint using `http`
|
||||
and if it fails it tries using `https`.
|
||||
"""
|
||||
async with httpx.AsyncClient() as client:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user