[Opensrf-commits] r1557 - trunk/src/perl/lib/OpenSRF/Transport/SlimJabber
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Dec 22 11:12:41 EST 2008
Author: erickson
Date: 2008-12-22 11:12:39 -0500 (Mon, 22 Dec 2008)
New Revision: 1557
Modified:
trunk/src/perl/lib/OpenSRF/Transport/SlimJabber/Inbound.pm
Log:
running in no-router/single-service mode was checking a config value that is not required to exist. if we still want to support running in no-router mode, let's make it an explicit confuration option
Modified: trunk/src/perl/lib/OpenSRF/Transport/SlimJabber/Inbound.pm
===================================================================
--- trunk/src/perl/lib/OpenSRF/Transport/SlimJabber/Inbound.pm 2008-12-20 03:07:23 UTC (rev 1556)
+++ trunk/src/perl/lib/OpenSRF/Transport/SlimJabber/Inbound.pm 2008-12-22 16:12:39 UTC (rev 1557)
@@ -41,9 +41,9 @@
my $host = $domain;
my $resource = $app . '_listener_at_' . $conf->env->hostname;
- my $router_name = $conf->bootstrap->router_name;
- # no router, only one listener running..
- if(!$router_name) {
+ my $no_router = 0; # make this a config entry if we want to use it
+ if($no_router) {
+ # no router, only one listener running..
$username = "router";
$resource = $app;
}
More information about the opensrf-commits
mailing list