Browse Source

Only one workqueue will suffice in the generator when there's no conflict over resources

master
Con Kolivas 10 years ago
parent
commit
2cc67dab43
  1. 2
      src/generator.c

2
src/generator.c

@ -2209,7 +2209,7 @@ int generator(proc_instance_t *pi)
gdata = ckzalloc(sizeof(gdata_t));
ckp->data = gdata;
gdata->ckp = ckp;
ckp->ckwqs = gdata->ckwqs = create_ckwqs(ckp, "gen", 2);
ckp->ckwqs = gdata->ckwqs = create_ckwqs(ckp, "gen", 1);
if (ckp->proxy) {
char *buf = NULL;

Loading…
Cancel
Save