1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger/splunk
Brian Goff 24087399d9 Set timeout on splunk batch send
Before this change, if the splunk endpoint is blocked it will cause a
deadlock on `Close()`.
This sets a reasonable timeout for the http request to send a log batch.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-11-14 12:32:52 -05:00
..
splunk.go Set timeout on splunk batch send 2017-11-14 12:32:52 -05:00
splunk_test.go Set timeout on splunk batch send 2017-11-14 12:32:52 -05:00
splunkhecmock_test.go Set timeout on splunk batch send 2017-11-14 12:32:52 -05:00