File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
setup/performance-toolkit Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8011,14 +8011,15 @@ try {
8011
8011
8012
8012
//Number of products for one thread
8013
8013
productClusterLength = productCount / threadsNumber;
8014
- //Index of the current product from the cluster
8015
- i = productClusterLength * currentThreadNum + iterator;
8016
8014
8017
8015
if (iterator >= productClusterLength) {
8018
8016
vars.put("threadIterator_" + currentThreadNum.toString(), "0");
8019
8017
iterator = 0;
8020
8018
}
8021
8019
8020
+ //Index of the current product from the cluster
8021
+ i = productClusterLength * currentThreadNum + iterator;
8022
+
8022
8023
//ids of simple and configurable products to edit
8023
8024
vars.put("simple_product_id", props.get("simple_products_list").get(i).get("id"));
8024
8025
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