Commit e14e013b by 杨树贤

优化脚本性能

parent 0d23241f
Showing with 1 additions and 0 deletions
......@@ -35,6 +35,7 @@ class SyncAllSupplierToErp extends Command
*/
public function handle()
{
ini_set('memory_limit', -1);
$supplierIds = SupplierChannelModel::where('is_type', 0)->pluck('supplier_id')->toArray();
$conn = new AMQPStreamConnection(config('database.connections.rabbitmq.host'),
config('database.connections.rabbitmq.port'),
......
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 sign in to comment