New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert to legacy queued handler. #1280

Merged
merged 1 commit into from Apr 21, 2017
Jump to file or symbol
Failed to load files and symbols.
+6 −6
Diff settings

Always

Just for now

Revert to legacy queued handler.

  • Loading branch information...
pgermishuys committed Apr 20, 2017
commit 959f71174fb6aeb10d19bacbf578035e72648d60
@@ -17,12 +17,12 @@ public class QueuedHandler :
bool watchSlowMsg = true,
TimeSpan? slowMsgThreshold = null, TimeSpan? threadStopWaitTimeout = null, string groupName = null)
{
if (IntPtr.Size == 8)
{
// optimized path, using much faster multi producer single consumer queue
return new QueueHandlerUsingMpsc(consumer, name, watchSlowMsg, slowMsgThreshold, threadStopWaitTimeout,
groupName);
}
//if (IntPtr.Size == 8)
//{
// // optimized path, using much faster multi producer single consumer queue
// return new QueueHandlerUsingMpsc(consumer, name, watchSlowMsg, slowMsgThreshold, threadStopWaitTimeout,
// groupName);
//}
return new QueuedHandler(consumer, name, watchSlowMsg, slowMsgThreshold, threadStopWaitTimeout, groupName);
}
ProTip! Use n and p to navigate between commits in a pull request.