diff --git a/src/sentry/src/Tracing/Aspect/CoroutineAspect.php b/src/sentry/src/Tracing/Aspect/CoroutineAspect.php index 8af31a9a5..0f296df9f 100644 --- a/src/sentry/src/Tracing/Aspect/CoroutineAspect.php +++ b/src/sentry/src/Tracing/Aspect/CoroutineAspect.php @@ -129,7 +129,6 @@ public function process(ProceedingJoinPoint $proceedingJoinPoint) return $proceedingJoinPoint->process(); } finally { $parent->finish(); - SentrySdk::getCurrentHub()->setSpan($transaction); } } } diff --git a/src/sentry/src/Transport/CoHttpTransport.php b/src/sentry/src/Transport/CoHttpTransport.php index c0134a423..0c26c4f0a 100644 --- a/src/sentry/src/Transport/CoHttpTransport.php +++ b/src/sentry/src/Transport/CoHttpTransport.php @@ -121,7 +121,7 @@ protected function loop(): void $this->workerWatcher ??= Coroutine::create(function () { if (CoordinatorManager::until(Constants::WORKER_EXIT)->yield()) { // sleep before setting workerExited to prevent busy-waiting - msleep(1); + msleep(100); $this->workerExited = true;