Fix bug when reset time is in the past.
When the reset time is in the past, the $seconds
param becomes negative and sleep()
would throw an error.
Fix bug when reset time is in the past.
When the reset time is in the past, the $seconds
param becomes negative and sleep()
would throw an error.