Skip to content

Commit

Permalink
Fixes issue with high CPU when failing to connect to Bus
Browse files Browse the repository at this point in the history
  • Loading branch information
toby.henderson committed Jun 30, 2017
1 parent 306ca76 commit ae1eb7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Paramore.Brighter.ServiceActivator/MessagePumpBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public async Task Run()
catch (ChannelFailureException)
{
_logger.Value.WarnFormat("MessagePump: ChannelFailureException messages from {1} on thread # {0}", Thread.CurrentThread.ManagedThreadId, Channel.Name);
Task.Delay(1000).Wait();
continue;
}
catch (Exception exception)
Expand Down

0 comments on commit ae1eb7e

Please sign in to comment.