def ping(): """Write a timestamp to redis to make sure at least one worker is running ok. """ return redis.set('qmk_api_last_ping', strftime('"%Y-%m-%d %H:%M:%SZ"'))
def ping(): """Write a timestamp to redis to make sure at least one worker is running ok. """ return redis.set('qmk_api_last_ping', time())