diff options
author | Michal Minar <miminar@redhat.com> | 2013-07-10 14:21:49 +0200 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-07-23 13:52:34 +0200 |
commit | f882972d9ac5cf87584c164953baa964c24caaff (patch) | |
tree | 9b6f7beda4baecdcb861c03cf86020461bbf3790 /src/software | |
parent | 81c8ccb5cb9dc4dd556307930650fc9479d51edb (diff) | |
download | openlmi-providers-f882972d9ac5cf87584c164953baa964c24caaff.tar.gz openlmi-providers-f882972d9ac5cf87584c164953baa964c24caaff.tar.xz openlmi-providers-f882972d9ac5cf87584c164953baa964c24caaff.zip |
moved logging level option to BaseConfiguration
Diffstat (limited to 'src/software')
-rw-r--r-- | src/software/lmi/software/util/SoftwareConfiguration.py | 14 |
1 files changed, 11 insertions, 3 deletions
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 |