We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb18a5 commit cadaad6Copy full SHA for cadaad6
1 file changed
src/main/php/peer/server/AsyncServer.class.php
@@ -217,12 +217,18 @@ public function service() {
217
$wait[]= $this->select[$i]->getTimeout();
218
break;
219
220
- case 'delay': default:
+ case 'delay':
221
$delay= $execute->current() / 1000;
222
$continuation->next= $time + $delay;
223
$waitable[$i]= true;
224
$wait[]= $delay;
225
226
+
227
+ default:
228
+ $continuation->next= $time;
229
+ $waitable[$i]= true;
230
+ $wait[]= 0;
231
+ break;
232
}
233
234
0 commit comments