added hourly action limit constants and an hourly error limit