Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-worker-docker-container: disable log buffering #16919

Merged
merged 1 commit into from
Mar 13, 2024

Commits on Feb 14, 2024

  1. Multi-worker-docker-container: disable log buffering

    Background: we have a `matrixdotorg/synapse-workers` docker image, which is
    intended for running multiple workers within the same container. That image
    includes a `prefix-log` script which, for each line printed to stdout or stderr
    by one of the processes, prepends the name of the process.
    
    This commit disables buffering in that script, so that lines are logged quickly
    after they are printed. This makes it much easier to understand the output,
    since they then come out in a natural order.
    richvdh committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    47efd89 View commit details
    Browse the repository at this point in the history