in gamelift-daemon/src/main.py [0:0]
def main(failure_threshold, healthcheck_interval):
initialize_game_server(GameServerGroupName=game_server_group_name, GameServerId=game_server_id, InstanceId=instance_id)
try:
asyncio.ensure_future(update_health_status(GameServerGroupName=game_server_group_name, GameServerId=game_server_id))
asyncio.ensure_future(get_health_status(InstanceId=instance_id, GameServerGroupName=game_server_group_name, GameServerId=game_server_id, HealthcheckInterval=healthcheck_interval))
loop.run_forever()
except Exception as e:
pass
finally:
loop.close()