-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-create HTTP connection to Graylog 60 update iterations (#483)
We are using HTTP keep-alive, which otherwise might never pick up any changes to the DNS name of Graylog. Since there is no parameter in golang's http.Client to do this, simply re-create a new HTTP connection every 60 calls.
- Loading branch information
Showing
2 changed files
with
18 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
type = "fixed" | ||
message = "Re-create HTTP connection to Graylog every 60 request loops to detect DNS changes." | ||
|
||
issues = ["479"] | ||
pulls = [""] | ||
|
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