After each message gets published we're setting the connection to nil here
Because of this, each time another publish comes in, we're creating a new connection and outputting "Redialing Datadog" here
This could probably be optimized a bit, however, I don't think there is anything inherently wrong with it, we probably just don't need that output message.
After each message gets published we're setting the connection to
nilhereBecause of this, each time another publish comes in, we're creating a new connection and outputting "Redialing Datadog" here
This could probably be optimized a bit, however, I don't think there is anything inherently wrong with it, we probably just don't need that output message.