Skip to content

Commit 26358ac

Browse files
authored
Document Supervisor's detect_blocking_io option (#2761)
1 parent adecee9 commit 26358ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/api/supervisor/endpoints.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3399,6 +3399,7 @@ Returns information about the supervisor
33993399
| diagnostics | bool or null | Sending diagnostics is enabled |
34003400
| addons_repositories | list | A list of add-on repository URL's as strings |
34013401
| auto_update | bool | Is auto update enabled for supervisor |
3402+
| detect_blocking_io | bool | Supervisor raises exceptions for blocking I/O in event loop |
34023403

34033404
**Example response:**
34043405

@@ -3419,7 +3420,8 @@ Returns information about the supervisor
34193420
"debug_block": false,
34203421
"diagnostics": null,
34213422
"addons_repositories": ["https://example.com/addons"],
3422-
"auto_update": true
3423+
"auto_update": true,
3424+
"detect_blocking_io": false
34233425
}
34243426
```
34253427

@@ -3476,6 +3478,7 @@ You need to call `/supervisor/reload` after updating the options.
34763478
| logging | string | Set logging level |
34773479
| addons_repositories | list | Set a list of URL's as strings for add-on repositories |
34783480
| auto_update | bool | Enable/disable auto update for supervisor |
3481+
| detect_blocking_io | string | Enable blocking I/O in event loop detection. Valid values are `on`, `off` and `on_at_startup`. |
34793482

34803483
</ApiEndpoint>
34813484

0 commit comments

Comments
 (0)