[Koha-bugs] [Bug 22417] Delegate background jobs execution

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 28 14:30:46 CET 2019


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

--- Comment #13 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Tomás Cohen Arazi from comment #12)
> I agree with David that this of course would require a single RabbitMQ
> server so questions: Is there a concept of namespaces? can any Koha instance
> access other instance's messages?

I really would like you guys to apply, read and try the patches, read the code,
then discuss :)
There are a lot of FIXME and TODO.

This one answers your question:

 16 sub connect {
 17     my ( $self );
 18     my $conn = Net::RabbitFoot->new()->load_xml_spec()->connect(
 19         host => 'localhost', # TODO Move this to KOHA_CONF
 20         port => 5672,
 21         user => 'guest',
 22         pass => 'guest',
 23         vhost => '/',
 24     );
 25 
 26     return $conn;
 27 }

So different vhost, user and pass can be used.

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


More information about the Koha-bugs mailing list