diff options
| author | Marcus Michaels <marcusmmichaels@gmail.com> | 2026-02-18 12:29:08 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-18 13:29:08 +0100 |
| commit | 928708097435245d28c34d424da555b6850908d5 (patch) | |
| tree | 3b4926d20d4063d940bd90d9bc3f3fae5cdd0991 /zellij-utils/src/plugin_api/plugin_command.rs | |
| parent | fix grid crashes on invalid state (#4718) (diff) | |
| download | sl0ppij-928708097435245d28c34d424da555b6850908d5.tar.gz sl0ppij-928708097435245d28c34d424da555b6850908d5.tar.xz sl0ppij-928708097435245d28c34d424da555b6850908d5.zip | |
fix: add --timeout flag to zellij web --status (#4706)
* feat: add --timeout flag to zellij web --status
The HTTP client for checking web server status didn't have a timeout configured. This could cause the CLI to hang indefinitely if the server was unreachable, so I've added a 30-second default timeout and lets users override it with `--timeout <seconds>` when running `zellij web --status`. For example:
```
zellij web --status --timeout 60
```
* Update web timeout to work with --status (and add some tests to make sure everything works as expected)
Diffstat (limited to 'zellij-utils/src/plugin_api/plugin_command.rs')
0 files changed, 0 insertions, 0 deletions
