presto-main/src/main/java/io/prestosql/SystemSessionProperties.java/SystemSessionProperties/getQueryMaxRunTime
class SystemSessionProperties:    public static Duration getQueryMaxRunTime(Session session)
    {
        return session.getSystemProperty(QUERY_MAX_RUN_TIME, Duration.class);
    }