You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if $this->getNextEventTimeInMicroSeconds() in StreamSelectLoop.php returns a float value greater than max int value, it will give you this error
stream_select(): The microseconds parameter must be greater than 0
This will happen if the next event interval is greater than 2148. Or, in other words you can't have a periodic timer with interval greater than 2148 seconds.
Workarounds: have a dummy periodic timer with interval less than 2148 seconds.
The text was updated successfully, but these errors were encountered:
It is worth noting that the limit of 2148 seconds is only applied to 32-bit systems. On 64-bit systems it is big enough to not worry about it.
I created a pull request #23 to fix this issue.
clue
changed the title
Int overflow if the timer interval is big
StreamSelectLoop: Int overflow if the timer interval is big on 32-bit systems
Jan 10, 2017
if $this->getNextEventTimeInMicroSeconds() in StreamSelectLoop.php returns a float value greater than max int value, it will give you this error
stream_select(): The microseconds parameter must be greater than 0
This will happen if the next event interval is greater than 2148. Or, in other words you can't have a periodic timer with interval greater than 2148 seconds.
Workarounds: have a dummy periodic timer with interval less than 2148 seconds.
The text was updated successfully, but these errors were encountered: