Browse Source

Make opt_queue a function of mining threads in clone_work as well.

Con Kolivas 13 years ago
parent
commit
caa266ca3b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cgminer.c

+ 1 - 1
cgminer.c

@@ -3972,7 +3972,7 @@ static bool reuse_work(struct work *work)
  * the future */
 static struct work *clone_work(struct work *work)
 {
-	int mrs = mining_threads + opt_queue - total_staged();
+	int oq = opt_queue * mining_threads, mrs = mining_threads + oq - total_staged();
 	struct work *work_clone;
 	bool cloned;