Skip to content

Conversation

@radwo
Copy link
Member

@radwo radwo commented Nov 13, 2023

This pull request introduces enhancements to the Tackle.publish by implementing the ability to reuse a RabbitMQ connection via Tackle.Connection.open(name, ..). This change aims to improve performance and resource management by minimizing the overhead of establishing new connections for each publishing action.

@radwo radwo changed the title remove userinfo from logged urls utilize connection_id in publisher Nov 13, 2023
@radwo radwo changed the title utilize connection_id in publisher Implement Reusable RabbitMQ Connection in Publisher Nov 13, 2023
@radwo radwo mentioned this pull request Nov 13, 2023
routing_key: "test-messages",
}

Tackle.publish("Hi!", options)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a test that verifies this? It should probably publish a few times in a row and check the number of open connections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants