File tree 1 file changed +3
-2
lines changed
setup/performance-toolkit
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8006,14 +8006,15 @@ try {
8006
8006
8007
8007
//Number of products for one thread
8008
8008
productClusterLength = productCount / threadsNumber;
8009
- //Index of the current product from the cluster
8010
- i = productClusterLength * currentThreadNum + iterator;
8011
8009
8012
8010
if (iterator >= productClusterLength) {
8013
8011
vars.put("threadIterator_" + currentThreadNum.toString(), "0");
8014
8012
iterator = 0;
8015
8013
}
8016
8014
8015
+ //Index of the current product from the cluster
8016
+ i = productClusterLength * currentThreadNum + iterator;
8017
+
8017
8018
//ids of simple and configurable products to edit
8018
8019
vars.put("simple_product_id", props.get("simple_products_list").get(i).get("id"));
8019
8020
vars.put("configurable_product_id", props.get("configurable_products_list").get(i).get("id"));
You can’t perform that action at this time.
0 commit comments