

class Config(object):

    DEFAULT_CONFIG = {
        'MONGO_HOST': 'localhost',
        'MONGO_PORT': 27017,
        'MONGO_DATABASE': 'vacker',
        'DEFAULT_SET_INTERVAL': 5,
        'DEFAULT_EVENT_INTERVAL': 1800,
        # 500x500
        'MINIMUM_RESOLUTION': 250000
    }

    @staticmethod
    def get(key):
        if key in Config.DEFAULT_CONFIG:
            return Config.DEFAULT_CONFIG[key]



class Config(object):

    DEFAULT_CONFIG = {
        'MONGO_HOST': 'localhost',
        'MONGO_PORT': 27017,
        'MONGO_DATABASE': 'vacker',
        'DEFAULT_SET_INTERVAL': 30,
        'DEFAULT_EVENT_INTERVAL': 1800,
        # 500x500
        'MINIMUM_RESOLUTION': 250000
    }

    @staticmethod
    def get(key):
        if key in Config.DEFAULT_CONFIG:
            return Config.DEFAULT_CONFIG[key]

Update set interval