1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

[Feature] Load balancer: Allow specifying fail_timeout property

Open fishnux opened this issue 5 months ago • 1 comments

1Panel Version

v2.0.11

Please describe your needs or suggestions for improvements

[Feature] Load balancer: Allow specifying fail_timeout property

upstream my-app {
    server 127.0.0.1:8000 fail_timeout=5s;
    server 127.0.0.1:8001 backup fail_timeout=5s;
}

Please describe the solution you suggest

Add column to type fail_timeout like it exists for e.g. weight, max fails, etc.

I understand the space might be a little cramped, so open to discussions

Additional Information

I manually inserted those settings in the config, but it isn't persisted if I edit the load balancer settings

fishnux avatar Oct 02 '25 22:10 fishnux

Thank you for your feedback! We will consider supporting this configuration in a future release.

wanghe-fit2cloud avatar Oct 05 '25 15:10 wanghe-fit2cloud

v2.0.13 版本已发布。

wanghe-fit2cloud avatar Nov 20 '25 03:11 wanghe-fit2cloud