Skip to content

Commit

Permalink
Merge pull request #1 from lopango/clrzmqv3
Browse files Browse the repository at this point in the history
Update examples/C#/lbbroker.cs
  • Loading branch information
tjrobinson committed Jan 2, 2013
2 parents e65cfbe + 862ddd7 commit fa19a92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/C#/lbbroker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ public static void Main(string[] args)
backend.Send(request, Encoding.Unicode);
};

var poller = new Poller(workerQueue.Count > 0
? new List<ZmqSocket>(new ZmqSocket[] { frontend, backend })
: new List<ZmqSocket>(new ZmqSocket[] { backend }));

while (clientsRunning > 0)
{ // Exit after N messages
var poller = new Poller(workerQueue.Count > 0
? new List<ZmqSocket>(new ZmqSocket[] { frontend, backend })
: new List<ZmqSocket>(new ZmqSocket[] { backend }));

poller.Poll();
}
}
Expand Down

0 comments on commit fa19a92

Please sign in to comment.