@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | // accelerate batches if at least this frac done |
| 30 | 30 | // can be set in project.inc |
| 31 | 31 | // |
| 32 | -if (!defined('BATCH_ACCEL_MIN_FRAC_DONE')){ |
|
| 32 | +if (!defined('BATCH_ACCEL_MIN_FRAC_DONE')) { |
|
| 33 | 33 | define('BATCH_ACCEL_MIN_FRAC_DONE', .85); |
| 34 | 34 | } |
| 35 | 35 | |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | break; |
| 67 | 67 | } |
| 68 | 68 | $age = $now - $r->sent_time; |
| 69 | - if ($age<$batch->expire_time) { |
|
| 69 | + if ($age < $batch->expire_time) { |
|
| 70 | 70 | $make_another_result = false; |
| 71 | 71 | break; |
| 72 | 72 | } |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | if ($make_another_result) { |
| 77 | 77 | echo "creating another instance for WU $wu->id\n"; |
| 78 | 78 | $query[] = sprintf( |
| 79 | - 'target_nresults=%d', $wu->target_nresults+1 |
|
| 79 | + 'target_nresults=%d', $wu->target_nresults + 1 |
|
| 80 | 80 | ); |
| 81 | 81 | $query[] = sprintf( |
| 82 | 82 | 'transition_time=%f', $now |