

def save_last_line_parsed(time):
    global redis_conn, cache_prefix
    if (redis_conn is None):
        logger.error('Failed to find a redis connection.')
        return
    key = cache_key(control_cache_key)
    redis_conn.set(key, time)
    logger.info('Last time saved: {0}'.format(time))

dataset/ETHPy150Open docker/docker-registry/scripts/bandwidth_parser.py save_last_line_parsed/original