Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 409 Bytes

driver-sync.md

File metadata and controls

18 lines (15 loc) · 409 Bytes

Syncronous Driver

Runs tasks syncronously in the same process if handle property is turned on. Could be used when developing and debugging application.

Configuration example:

return [
    'components' => [
        'queue' => [
            'class' => \yii\queue\sync\Queue::class,
            'handle' => false, // if tasks should be executed immediately
        ],
    ],
];