-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use InactivityTimeout to work around a bug in docker (#204)
* Use InactivityTimeout to work around a bug in docker. Log rotation causes 'docker logs --follow' to stop outputing logs (moby/moby#23913). We work around this by detecting inactivity in a log stream and restarting its pump. We restart the pump with argument Since=Now-InactivityTimeout to catch any logs we may have "missed" due to log rotation (this is harmless for truly silent log streams). * gofmt -w router/pump.go * Add mention of INACTIVITY_TIMEOUT flag to README.
- Loading branch information
Showing
2 changed files
with
28 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters