Commit 3f41fe6b authored by hangjun83's avatar hangjun83

更新

parent 6cfed54a
...@@ -211,7 +211,6 @@ class WuxiLabService ...@@ -211,7 +211,6 @@ class WuxiLabService
} }
try{ try{
$rawsList = $newPackages = []; $rawsList = $newPackages = [];
if(count($params['products']) > 5000){
$slice_array_length= 500; $slice_array_length= 500;
$current_length = 0; $current_length = 0;
while(true){ while(true){
...@@ -256,7 +255,6 @@ class WuxiLabService ...@@ -256,7 +255,6 @@ class WuxiLabService
} }
} }
usleep(rand(1000000,5000000)); usleep(rand(1000000,5000000));
}
}catch(\Throwable $exception){ }catch(\Throwable $exception){
SimpleLogs::writeLog($exception->getMessage(), __CLASS__.':processNotExistProductsUpdate', 'error'); SimpleLogs::writeLog($exception->getMessage(), __CLASS__.':processNotExistProductsUpdate', 'error');
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment