Upped cache period to one week. Refactored quota sleep code.