@classmethod
def awake(cls, config, display):
    """
        Proceed every db which is available and random query a table to keep connection.
        對每個資料庫，做一次亂數取表單，透過請求表單第一個物件，保持db連線狀態。

        :params config: flask config
        :type config: <class 'config.Config'>

        :params display: to display activities of every poke
        :type display: bool
        """
    now = cls._get_now()
    db_binds = cls._get_db_binds(config)
    models_path_list = getattr(config, 'MODELS_PATH_LIST', None)
    if not models_path_list:
        raise Exception(f'[ * = DBPacemaker = "MODELS_PATH_LIST" is empty!]')
    models_list = cls._get_models_list(models_path_list)
    if not models_list:
        raise Exception(f'[ * = DBPacemaker = No available models!]')
    random_tables = cls._get_random_tables(db_binds, models_list)
    if not random_tables:
        raise Exception(f'[ * = DBPacemaker = cannot source any tables!]')
    for db, table in random_tables.items():
        cls._poke(db=db, table=table, display=display)
