Open blakearnold opened 1 year ago
Forked https://github.com/DataDog/datadog-go/pull/264, but put the refresh in a separate go routine for performance.
The current UDP connection logic will resolve an address only when the writer is created. This is undesirable in cases where the address may change at a later point.
This should also fix https://github.com/DataDog/datadog-go/issues/263.
@AliDatadog @wdhif Is there any chance this PR will be included in a release?
Forked https://github.com/DataDog/datadog-go/pull/264, but put the refresh in a separate go routine for performance.
The current UDP connection logic will resolve an address only when the writer is created. This is undesirable in cases where the address may change at a later point.
This should also fix https://github.com/DataDog/datadog-go/issues/263.