[Koha-bugs] [Bug 22417] Add a task queue

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 2 11:02:58 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22417

--- Comment #241 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Julian Maurice from comment #240)
> It would be great if RabbitMQ was made optional, perhaps by adding a very
> basic task queue implementation (for instance with only 1 worker allowed to
> avoid many problems of a task queue) that will be used if RabbitMQ is not
> configured ?
> But that would still require sysadmins to add a "service" (systemd service,
> start/stop script, ...) for the worker, so there would be manual steps
> anyway.
> 
> Is there a way to make background jobs work automatically on the next
> upgrade ?

There is the a start/stop script provided with the debian package
(debian/scripts/koha-worker). It will start the daemon like we do with other
services. There is no extra steps needed for that part.

The only bit to make it works is the 3 lines I pasted earlier:
    apt install rabbitmq-server # done with the deb dependency
    rabbitmq-plugins enable rabbitmq_stomp
    service rabbitmq-server restart

And maybe that could be a postinst task (?)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list