diff options
author | Eric Wong <e@80x24.org> | 2023-01-09 05:34:40 +0000 |
---|---|---|
committer | Eric Wong <mwrap-perl@80x24.org> | 2023-01-09 07:20:14 +0000 |
commit | 72a3769760252f4f2cddf1d63e939e4c9b505cdd (patch) | |
tree | 90317f544d506f6ca699c3db46a78b473c403822 /script/mwrap-perl | |
parent | e8a14610119b86133863182033c4b3e4df3f4257 (diff) | |
download | mwrap-72a3769760252f4f2cddf1d63e939e4c9b505cdd.tar.gz |
This is more consistent with the `MWRAP=bt:' use, since adding `-Depth' seems unnecessary and makes curl commands too long.
Diffstat (limited to 'script/mwrap-perl')
-rw-r--r-- | script/mwrap-perl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/script/mwrap-perl b/script/mwrap-perl index 48f5471..182b0bd 100644 --- a/script/mwrap-perl +++ b/script/mwrap-perl @@ -109,19 +109,19 @@ lazily to avoid contention and does not happen unless sleeping threads. =item POST http://0/$PID/ctl -Set various internal knobs. Currently, C<X-Mwrap-BT-Depth> is the +Set various internal knobs. Currently, C<X-Mwrap-BT> is the only knob supported: -C<curl --unix-socket $DIR/$PID.sock -XPOST -HX-Mwrap-BT-Depth:1 http://0/$PID/ctl> +C<curl --unix-socket $DIR/$PID.sock -XPOST -HX-Mwrap-BT:1 http://0/$PID/ctl> -Using the C<X-Mwrap-BT-Depth> header allows changing the aforementioned +Using the C<X-Mwrap-BT> header allows changing the aforementioned C<bt:> value to a specified depth level. As with C<bt:>, only make small adjustments as the memory cost can increase exponentially with each step. It is typically a good idea to reset (C<http://0/$PID/reset>) after changing the depth on a running process. -Headers other than C<X-Mwrap-BT-Depth> may be accepted in the future to +Headers other than C<X-Mwrap-BT> may be accepted in the future to tweak other settings. =back |