Skip to content

Commit

Permalink
Merge pull request #67 from johnallers/webproxy-bug
Browse files Browse the repository at this point in the history
Fixed issue that causes the Quidjibo to stop when it fails to retrieve work items.
  • Loading branch information
smiggleworth authored Feb 1, 2019
2 parents 83877d3 + 97044bd commit aaa202d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Quidjibo/Servers/QuidjiboServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private async Task WorkLoopAsync(string queue)
_throttle.Release();
}

if (items.Count <= 0)
if (items == null || items.Count <= 0)
{
await Task.Delay(pollingInterval, _cts.Token);
}
Expand Down

0 comments on commit aaa202d

Please sign in to comment.