Skip to content

[Feature] Load balancer: Allow specifying fail_timeout property #10565

@fishnux

Description

@fishnux

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions