Laravel - Jobs, Dispatch, Queue. Нужна помощь (оплачиваемая)
20 USDИщу программиста хорошо владеющего Laravel и вышеописанными директивами.
Происходит неразбериха в очередях, возможно кеш или что-то еще, нажно разобраться, срочно.
Проявляется следующим образом:
При запуске:
$products->each(function ($product){
ProductJob::dispatch($product);
});Обращение к ProductJob:
public function handle()
{
try{
$product = clone $this->product;
$data = Parser::getProduct(mb_strtolower($this->product->ItemType) ,$this->product->ItemNo, $this->option);
if ($this->product->cat_entry_id)
unset($data['cat_entry_id']);
if ($this->product->main_cat_entry_id)
unset($data['main_cat_entry_id']);
$this->product->fill($data);
$this->product->save();
if ($this->product->inserted > 0 && !empty($data['pdf_local_instruction'])){
\DB::table('oc_product_description')->where('product_id', $this->product->inserted)->update(['pdf_instruction' => $data['pdf_local_instruction']]);
}
}catch (\Exception $exception){
$code = $exception->getCode();
$product->code = $code;
$product->save();
}
}
Мне непонятна работа этого обработчика, выглядит так будто он закеширован, т.к. изменения внутри него не применяются, даже если его полностью удалить.
Надо все проверить, работа только через TeamViewer на удаленке, чтобы я понимал что вы ничего не сломаете. Делаю сейф на сервисе и резервирую оплату.
Будут и другие задачи, нужны оперативные решения.
-
122 1) Остановить очередь
2) php artisan queue:restart
3) Запустить очередь
Готово
-
1120 33 0 1 Добрый день. Буду рад сотрудничеству.
Готов обсудить детали в личной переписке.
Опыт работы 4 лет.
Большой опыт, ответственный и качественный подход.
С уважением John!
Пишите обсудим
-
75 Добрый день, что бы применились изменения нужно остановить очередь и перезапустить ее
https://laravel.com/docs/5.8/queues#queue-workers-and-deployment
там просто я думаю что и сами справитесь
-
350 8 0 Здравствуйте Владислав. Я столковалось такой проблеме. Могу сделать.
Current freelance projects in the category PHP
Integration of Blade article template | Laravel | Frontend
100 USD
Integration of Blade template for article | Laravel | Frontend Task Essence The site is built on Laravel. A ready HTML/CSS layout for a premium blog article page. It needs to be integrated into the existing Blade structure of the site. The design is ready. You are not designing… PHP, Web Programming ∙ 14 hours 38 minutes back ∙ 55 proposals |
Implementation of a technical SEO audit on OpenCartGood day. Need to implement technical SEO fixes on the site softugo.com. The site is already developed but not fully launched yet. Platform: ocStore 3.0.2.0 / OpenCart + custom code. Hosting: Hostinger. Current PHP version: 7.3. (transition to PHP 8.2 is planned) A checklist… PHP, Web Programming ∙ 16 hours 40 minutes back ∙ 50 proposals |
Execution of work after SEO audit
334 USD
An experienced OpenCart developer is needed to perform SEO and technical improvements for the online store. Main tasks: Correction of the internal linking structure and menu. Adding links to the footer. Implementation of breadcrumbs with Schema.org microdata. Fixing the… PHP, Website Maintenance ∙ 3 days 16 hours back ∙ 63 proposals |
Integration needed: KeyCRM → Cash Register KashalotIt is necessary to set up integration between KeyCRM and the Cash Register Kahalot. When placing an order in KeyCRM, the data must be automatically transmitted to Kahalot: • order information • products, nomenclature • prices • quantity More details in private. Content Management Systems, PHP ∙ 6 days 12 hours back ∙ 29 proposals |
A WordPress site using the Kadence theme and Kadence Blocks.
223 USD
We need to create a website on WordPress using the Kadence theme and Kadence Blocks. There will be no online store (although it may be added in the future). We need a homepage and several internal pages. The graphics are already prepared, the layout structure is mostly defined,… Content Management Systems, PHP ∙ 7 days 22 hours back ∙ 38 proposals |