Closed jaypeng2015 closed 5 years ago
Maybe this could help you as a workaround? https://github.com/lukeyouell/craft-queue-manager
Thanks @minyangu-bgl, the plugin may help us from a developer's prospective, but not for commercial users I think.
@minyangu-bgl tried craft-queue-manager, but it doesn't work for some reason if the queue is not empty.
More information about the bug itself is that the activity tab always shows pending and there's no attempts. So it's more likely that the job is not triggered at all.
Works on localhost through.
It turns out that the root cause of this is this issue: https://github.com/craftcms/cms/issues/2715
After I applied the sql ALTER DATABASE dbname SET bytea_output TO 'escape';
, everything started to work now.
Craft Version: 3.2.6 Pro Database: posgresql 11.4 Plugin version: 2.0.1 Runtime: PHP 7.2 running on 64bit Amazon Linux/2.8.12 No warnings under CMS System Report. Sender Class: craft\elements\Entry Event: afterSave
The UI shows the status after saving an entry:
This was because the webhook endpoint is unavailable.
webhooks.php:
However this doesn't stop after 3 (or 4) attempts, instead it clears
dateReserved
andtimeUpdated
and keeps running.The event was created on 24th July
On 25th July
A few minutes later, after creating a new entry, it updates
dateReserved
andtimeUpdated
of the first record in the queue.10 min later, it clears the value again
Remains the same after 1 hour if no new events. But as long as a new
afterSave
event gets triggered, it updatesdateReserved
andtimeUpdated
of the first record in the queue and increase numbers of attempts by 1.Appreciate any help!