From 9069e8f04e2a58a45625b03671452524ec25ccb6 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 19 May 2009 14:14:46 +0000 Subject: [PATCH] until full settings support is added, comment that out for now. added example keepalive git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1704 9efc2488-bf62-4759-914b-345cdb29e865 --- src/python/opensrf.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/python/opensrf.py b/src/python/opensrf.py index 1204f40..bb1b17e 100755 --- a/src/python/opensrf.py +++ b/src/python/opensrf.py @@ -82,12 +82,12 @@ def do_start(): osrf.system.System.net_connect( config_file = config_file, config_context = config_ctx) - osrf.set.load(osrf.conf.get('domain')) - settings = osrf.json.to_json(osrf.set.get('apps/%s' % service)) +# osrf.set.load(osrf.conf.get('domain')) +# settings = osrf.json.to_json(osrf.set.get('apps/%s' % service)) - if settings['language'].lower() != 'python': - print '%s is not a Python application' % service - return +# if settings['language'].lower() != 'python': +# print '%s is not a Python application' % service +# return # XXX load the settings configs... osrf.app.Application.load(service, 'osrf.apps.example') # XXX example only for now @@ -98,6 +98,7 @@ def do_start(): controller.max_requests = 100 controller.max_children = 6 controller.min_children = 3 + controller.keepalive = 5 if as_daemon: osrf.system.System.daemonize() -- 2.43.2