Throttling

- throttling
- response handling
- refactoring
That still doesn't explain what you're intending this line to do. It looks like you're getting the remaining seconds in the current period, then multiplying that by the period length, and adding a period to it… Why?