The acceleration time-scale for first-order Fermi acceleration in relativistic shock waves