<filename>optinum/common/config.py
"""Global settings."""
# pylint: disable=R0903, W0232, C1001


class LOG:

    """Logging default values."""

    NAME = "bcbiovm"
    LEVEL = 10
    FORMAT = "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
    FILE = ""


class MISC:

    """Miscellaneous settings."""

    DEBUG = True     # show debugging messages or not
    TRIES = 3        # defaul number of tries


class WORKER:

    """Worker specific settings."""

    # default delay between complete processes and intensive iterations
    DELAY = 10
    FINEDELAY = DELAY * 0.1
    # concurrent matter
    WORKERS = 5     # default number of workers
    QSIZE = 0       # default task processor queue size (0 - unlimited)
    # other
    LOOP = True     # process the same tasks indefinitely


class REPORT:

    """Report specific settings."""
    RETRY_INTERVAL = 1  # default time between interations


class STATUS:

    NOTSET = 'notset'
    RUNNING = 'running'
    DONE = 'done'
    ERROR = 'error'

<filename>optinum/common/config.py
"""Global settings."""
# pylint: disable=R0903, W0232, C1001


class LOG:

    """Logging default values."""

    NAME = "bcbiovm"
    LEVEL = 10
    FORMAT = "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
    FILE = ""


class MISC:

    """Miscellaneous settings."""

    DEBUG = True     # show debugging messages or not
    TRIES = 3        # defaul number of tries


class WORKER:

    """Worker specific settings."""

    # default delay between complete processes and intensive iterations
    DELAY = 10
    FINEDELAY = DELAY * 0.1
    # concurrent matter
    WORKERS = 5     # default number of workers
    QSIZE = 0       # default task processor queue size (0 - unlimited)
    # other
    LOOP = True     # process the same tasks indefinitely


class REPORT:

    """Report specific settings."""
    RETRY_INTERVAL = 1  # default time between interations


class STATUS:

    NOTSET = 'notset'
    RUNNING = 'running'
    DONE = 'done'
    ERROR = 'error'

Global settings. # pylint: disable=R0903, W0232, C1001 Logging default values. Miscellaneous settings. # show debugging messages or not # defaul number of tries Worker specific settings. # default delay between complete processes and intensive iterations # concurrent matter # default number of workers # default task processor queue size (0 - unlimited) # other # process the same tasks indefinitely Report specific settings. # default time between interations