(cls, config)
Initialize class variables.

        :param dict config: Webrecorder configuration
Initialize class variables.
Initialize class variables .
def init_props(cls, config):
        """Initialize class variables.

        :param dict config: Webrecorder configuration
        """
        cls.OPEN_REC_TTL = int(config['open_rec_ttl'])
        #cls.INDEX_FILE_KEY = config['info_index_key']

        cls.CDXJ_KEY = config.get('cdxj_key_templ', cls.CDXJ_KEY)
        #cls.INDEX_NAME_TEMPL = config['index_name_templ']

        #cls.COMMIT_WAIT_TEMPL = config['commit_wait_templ']
        cls.COMMIT_WAIT_SECS = int(config['commit_wait_secs'])
def init_props ( cls , config ) : cls . OPEN_REC_TTL = int ( config [ 'open_rec_ttl' ] ) #cls.INDEX_FILE_KEY = config['info_index_key'] cls . CDXJ_KEY = config . get ( 'cdxj_key_templ' , cls . CDXJ_KEY ) #cls.INDEX_NAME_TEMPL = config['index_name_templ'] #cls.COMMIT_WAIT_TEMPL = config['commit_wait_templ'] cls . COMMIT_WAIT_SECS = int ( config [ 'commit_wait_secs' ] )