From f882972d9ac5cf87584c164953baa964c24caaff Mon Sep 17 00:00:00 2001 From: Michal Minar Date: Wed, 10 Jul 2013 14:21:49 +0200 Subject: moved logging level option to BaseConfiguration --- src/software/lmi/software/util/SoftwareConfiguration.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/software') diff --git a/src/software/lmi/software/util/SoftwareConfiguration.py b/src/software/lmi/software/util/SoftwareConfiguration.py index 99e2257..85e10da 100644 --- a/src/software/lmi/software/util/SoftwareConfiguration.py +++ b/src/software/lmi/software/util/SoftwareConfiguration.py @@ -47,14 +47,22 @@ class SoftwareConfiguration(BaseConfiguration): # Maximum time in seconds to wait for a job to accomplish. # If timeout expires, spawned process is checked (it might # be possibly killed) and is respawned in case it's dead. - defaults["wait_complete_timeout" ] = "30" + defaults["WaitCompleteTimeout" ] = "30" # Number of seconds to wait before next try to lock yum package # database. This applies, when yum database is locked by another # process. - defaults["lock_wait_interval"] = "0.5" + defaults["LockWaitInterval"] = "0.5" # Number of seconds to keep package cache in memory after the last use # (caused by user request). Package cache takes up a lot of memory. - defaults["free_database_timeout"] = "60" + defaults["FreeDatabaseTimeout"] = "60" + # Minimum time to keep asynchronous job in cache after completion. In + # seconds. + defaults["MinimumTimeBeforeRemoval"] = "10" + # Number of seconds to keep asynchronous job after its completion. + # It applies only to jobs with DeleteOnCompletion == True. + defaults["DefaultTimeBeforeRemoval"] = "300" + # Default asynchronous job priority. + defaults["DefaultPriority"] = "10" # Default logging level. defaults["Level"] = "ERROR" return defaults -- cgit