render_list was not blocking on requests and would swamp renderd with requests

This commit is contained in:
Kai Krueger
2013-12-24 01:03:20 +01:00
parent 949fdc16c7
commit 13da3afe70
4 changed files with 10 additions and 10 deletions

View File

@ -212,7 +212,7 @@ void process_loop(int listen_fd)
memset(&cmd,0,sizeof(cmd));
// TODO: to get highest performance we should loop here until we get EAGAIN
ret = recv_cmd(&cmd, fd);
ret = recv_cmd(&cmd, fd, 0);
if (ret < 1) {
int j;