Skip to content

Commit

Permalink
Merge pull request #1280 from EventStore/revert-mpsc
Browse files Browse the repository at this point in the history
Revert to legacy queued handler.
  • Loading branch information
hayley-jean authored and pgermishuys committed Apr 21, 2017
1 parent aa8cda8 commit 8df7ece
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/EventStore.Core/Bus/QueuedHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ public static IQueuedHandler CreateQueuedHandler(IHandle<Message> consumer, stri
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);
}

Expand Down

0 comments on commit 8df7ece

Please sign in to comment.