From a5a7a434c5868b9514fd51ed41dd3cafc19ff2b8 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 1 Mar 2005 20:43:00 +0000 Subject: [PATCH] settings client fixups git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@133 9efc2488-bf62-4759-914b-345cdb29e865 --- src/perlmods/OpenSRF/Application/Persist.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/perlmods/OpenSRF/Application/Persist.pm b/src/perlmods/OpenSRF/Application/Persist.pm index c56dce3..82bc7b8 100644 --- a/src/perlmods/OpenSRF/Application/Persist.pm +++ b/src/perlmods/OpenSRF/Application/Persist.pm @@ -16,7 +16,7 @@ sub initialize { $sc = OpenSRF::Utils::SettingsClient->new; - my $dbfile = $sc->config_value( apps => persist => app_settings => 'dbfile'); + my $dbfile = $sc->config_value( apps => 'opensrf.persist' => app_settings => 'dbfile'); unless ($dbfile) { throw OpenSRF::EX::PANIC ("Can't find my dbfile for SQLite!"); } @@ -53,10 +53,10 @@ sub initialize { sub child_init { my $sc = OpenSRF::Utils::SettingsClient->new; - $default_expire_time = $sc->config_value( apps => persist => app_settings => 'default_expire_time' ); + $default_expire_time = $sc->config_value( apps => 'opensrf.persist' => app_settings => 'default_expire_time' ); $default_expire_time ||= 300; - my $dbfile = $sc->config_value( apps => persist => app_settings => 'dbfile'); + my $dbfile = $sc->config_value( apps => 'opensrf.persist' => app_settings => 'dbfile'); unless ($dbfile) { throw OpenSRF::EX::PANIC ("Can't find my dbfile for SQLite!"); } -- 2.11.0