Skip to content

Commit

Permalink
Set timeout on poller so it doesnt block the thread
Browse files Browse the repository at this point in the history
  • Loading branch information
seif committed Mar 13, 2012
1 parent 782c298 commit fb16424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NHibernate.ZMQLogPublisher/Publisher.cs
Expand Up @@ -70,7 +70,7 @@ private static void ListenAndPublishLogMessages(int port)

while (Running && !stopping)
{
Context.Poller(new List<Socket> { loggers, publisher });
Context.Poller(new List<Socket> { loggers, publisher }, 1000);
}
}

Expand Down

0 comments on commit fb16424

Please sign in to comment.