Changed to nano seconds in scheduler