Commit 0d052dc6 authored by mengweifu's avatar mengweifu

add:azkaban

parent 3fc91e61
......@@ -28,7 +28,7 @@ class GoodstoesController extends Job
private function getGoodsSkuIdList()
{
return GoodsSku::select("goods_sku_id");
return GoodsSku::select("goods_sku_id", ['LIMIT' => 10]);
}
private function toEs($goodsSkuIds)
......
......@@ -42,7 +42,7 @@ chmod -R 755 /home/services/api.go2yd.com/logs
sysctl -w net.core.somaxconn=65535
php api.go2yd.com/htdocs/Website/public/job.php goodstoes index "t=$2&n=$3&j=$2"
php api.go2yd.com/htdocs/Website/public/job.php "$2" "$3" "$4"
if [ $? -ne 0 ]
then
......
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