Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make SqlServer message bus check for new messages before subscribing to query notification #969
Currently the SqlServer message bus always sets up a new query notification when a message is received. This is inefficient. Change it to always perform a check for new messages after a message is received, and if that returns no messages, wait for a configurable amount of time before checking again (e.g. 250ms), and only if that also yields no new messages set up the query notification.