* Disabled unused checked until more work is done in this direction

* Updated default threads for schedulers and delayed tasks runners
This commit is contained in:
Adolfo Gómez 2013-02-19 07:06:16 +00:00
parent 6507ddbf14
commit bce792254d
2 changed files with 3 additions and 3 deletions

View File

@ -170,9 +170,9 @@ class GlobalConfig(object):
# Delay between cache checks. reducing this number will increase cache generation speed but also will load service providers # Delay between cache checks. reducing this number will increase cache generation speed but also will load service providers
CACHE_CHECK_DELAY = Config.section(GLOBAL_SECTION).value('cacheCheckDelay', '19') CACHE_CHECK_DELAY = Config.section(GLOBAL_SECTION).value('cacheCheckDelay', '19')
# Delayed task number of threads PER SERVER, with higher number of threads, deplayed task will complete sooner, but it will give more load to overall system # Delayed task number of threads PER SERVER, with higher number of threads, deplayed task will complete sooner, but it will give more load to overall system
DELAYED_TASKS_THREADS = Config.section(GLOBAL_SECTION).value('delayedTasksThreads', '2') DELAYED_TASKS_THREADS = Config.section(GLOBAL_SECTION).value('delayedTasksThreads', '4')
# Number of scheduler threads running PER SERVER, with higher number of threads, deplayed task will complete sooner, but it will give more load to overall system # Number of scheduler threads running PER SERVER, with higher number of threads, deplayed task will complete sooner, but it will give more load to overall system
SCHEDULER_THREADS = Config.section(GLOBAL_SECTION).value('schedulerThreads', '2') SCHEDULER_THREADS = Config.section(GLOBAL_SECTION).value('schedulerThreads', '3')
# Waiting time before removing "errored" and "removed" publications, cache, and user assigned machines. Time is in seconds # Waiting time before removing "errored" and "removed" publications, cache, and user assigned machines. Time is in seconds
CLEANUP_CHECK = Config.section(GLOBAL_SECTION).value('cleanupCheck', '3607') CLEANUP_CHECK = Config.section(GLOBAL_SECTION).value('cleanupCheck', '3607')
# Time to maintaing "info state" items before removing it, in seconds # Time to maintaing "info state" items before removing it, in seconds

View File

@ -40,7 +40,7 @@ import logging
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
class AssignedAndUnused(Job): class AssignedAndUnused(object): # When derived from Job, it will be auto-registered
frecuency = GlobalConfig.CHECK_UNUSED_TIME.getInt() frecuency = GlobalConfig.CHECK_UNUSED_TIME.getInt()
friendly_name = 'Unused services checker' friendly_name = 'Unused services checker'