Optimization of a tabletop high-repetition-rate soft x-ray laser pumped in double-pulse single-beam grazing incidence.