diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2021-05-19 15:14:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-19 15:14:03 -0600 |
commit | e3c369d4526e44f23efb10aaad8a60ce519720a0 (patch) | |
tree | c9a550689be0822f4eaac37c5e02b7aac313e85a /modules/caddyhttp/caddyhttp.go | |
parent | c052162203654d9fcb6f3a40b1c9b376b8e618d1 (diff) |
logging: Implement dial timeout for net writer (fix #4083) (#4172)
* logging: Implement dial timeout for net writer (fix #4083)
* Limit how often redials are attempted
This should cause dial blocking to occur only once every 10 seconds at most, but it also means the logger connection might be down for up to 10 seconds after it comes back online; oh well. We shouldn't block for DialTimeout at every single log emission.
* Clarify offline behavior
Diffstat (limited to 'modules/caddyhttp/caddyhttp.go')
0 files changed, 0 insertions, 0 deletions