*
* @var int
*/
- protected $sec;
+ protected $sec = 0;
/**
* Length of time to poll for stream activity (microseconds)
*
* @var int
*/
- protected $usec;
+ protected $usec = 200000;
/**
* Length of time to wait between ticks.
}
}
- if (isset($this->sec) && isset($this->usec)) {
+ if (!isset($this->sec) && !isset($this->usec)) {
throw new Phergie_Process_Exception(
'One of the processor options "sec" or "usec" must be specified'
);