I've developed a project in yii2 that uses the yiisoft / yii2-queue extension. This extension stores orders to export very large CSVs. The exported CSVs work correctly but from time to time it throws the exception of the image:https://i.sstatic.net/5Rgms.png
I think it may be because of the postgres version I've working with: PostgreSQL 10.4 (Debian 10.4-2.pgdg90 + 1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18 + deb9u1) 6.3.0 20170516 , 64-bit
I have read that for version 9.4 it works. The configuration of the extension that I have is the following:
'components' => [
'queue' => [
'class' => \yii\queue\db\Queue::class,
'tableName' => '{{%queue}}', // Table name
'channel' => 'default', // Queue channel key
'db' => require(__DIR__ . '/db.php'),
'mutex' => [
'class' => \yii\mutex\PgsqlMutex::class,
'db' => require(__DIR__ . '/db.php'),
],
'mutexTimeout' => 0,
],
]
Does anyone know why this error occurs and how to fix it?