Skip to content

[FEAT] Add possibility to change timeout from env variables or something #45

@Lynux2142

Description

@Lynux2142

Is this a new feature request?

  • I have searched the existing issues

Wanted change

I am using lscr.io/linuxserver/socket-proxy:latest image on my airflow project.
Some of my tasks are docker operators, and some of them takes some time to compute (more than an hour), and for these, I got a Response ended prematurely error related to timeout settings too low from the haproxy.cfg.

I found the solution here:
apache/airflow#58614

For now, I just downloaded the haproxy.cfg file in the container, increase timeout server value and them, I mount this file in /templates/haproxy.cfg in my docker-compose.yml

Reason for change

I think it could be useful and easier for people to configure timeout parameters from docker environment variables instead of mounting a custom .cfg file.

Proposed code change

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions