Skip to content

tarantool-php/jobqueue

Repository files navigation

Tarantool JobQueue

Build Status Scrutinizer Code Quality Telegram

Installation

The recommended way to install the library is through Composer:

composer require tarantool/jobqueue

Usage

./jobqueue
./jobqueue help run

Please check the JobServer application source code for a more complete usage example of this library.

Running a worker

./jobqueue run <queue-name> -f worker.log -l debug -e executors.php

Tests

docker run --name jobqueue -p3301:3301 -v `pwd`:/jobqueue tarantool/tarantool:1.7 tarantool /jobqueue/tests/Integration/queues.lua
vendor/bin/phpunit

License

The library is released under the MIT License. See the bundled LICENSE file for details.