Skip to content

Commit 8107db4

Browse files
committed
code_subtask doc-worker-md
1 parent af07ce9 commit 8107db4

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/WORKER.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,16 @@ variable.
317317
export CONDUCTOR_HTTP2_ENABLED=false
318318
```
319319

320+
#### `CONDUCTOR_HTTP2_AUTO_FALLBACK`
321+
322+
- **What it does**: When HTTP/2 is enabled, a protocol-level error (e.g. `httpcore.RemoteProtocolError: <ConnectionTerminated ...>`) triggers a one-time, one-way automatic fallback to HTTP/1.1 for the remainder of the process.
323+
- **Default**: `true` (auto-fallback enabled).
324+
- **Values**: `false|0|no|off` keeps retrying on HTTP/2 instead of falling back. Anything else keeps it enabled.
325+
326+
```shell
327+
export CONDUCTOR_HTTP2_AUTO_FALLBACK=false
328+
```
329+
320330
If you paste the above code in a file called main.py, you can launch the workers by running:
321331
```shell
322332
python3 main.py

0 commit comments

Comments
 (0)