For large values of R/M, the light will cycle much faster than an object in a grazing orbit. The two cycles become identical only at R/M=3, when the orbital velocity itself equals the speed of light.
For smaller values of R/M, the time measured at the top of the borehole for the light to cycle increases without bound, but by then no grazing orbit is possible.