Skip to content

Mapswipe Workers Docker Restart Policy #223

Open
@Matthias-Schaub

Description

@Matthias-Schaub

To avoid reaccuring errors and infinitly restarting container (and spamming Sentry), restarts of mapswipe workers container should be set to a maximum.

https://docs.docker.com/compose/compose-file/#restart_policy

What is the maximum? 5 times? Should we wait some time till restart?

restart_policy:
        condition: on-failure
        delay: 5s
        max_attempts: 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededlow-priorityNice to have or optional stuff

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions