We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6064cb commit 81619b9Copy full SHA for 81619b9
1 file changed
src/Coroutine/Sleep.php
@@ -22,6 +22,7 @@ class Sleep extends Base
22
*/
23
public function goSleep(int $mSec)
24
{
25
+ $this->timeout = $mSec + 1000; //协程超时时间要比睡眠时间更长
26
$this->__sleepTime = $mSec;
27
$this->requestId = $this->getContext()->getLogId();
28
0 commit comments