Skip to content

Commit

Permalink
Use Hyperf\Coroutine\Coroutine instead of Hyperf\Engine\Coroutine
Browse files Browse the repository at this point in the history
… (#525)

Co-authored-by: Deeka Wong <[email protected]>
  • Loading branch information
huangdijia and huangdijia committed Jan 31, 2024
1 parent c6e6266 commit cc9f0cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/HttpClient/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
use Hyperf\Coordinator\Constants;
use Hyperf\Coordinator\CoordinatorManager;
use Hyperf\Coroutine\Concurrent;
use Hyperf\Coroutine\Coroutine;
use Hyperf\Engine\Channel;
use Hyperf\Engine\Coroutine;
use Sentry\HttpClient\Request;
use Sentry\HttpClient\Response;
use Sentry\Options;
Expand Down
1 change: 1 addition & 0 deletions src/Util/CoroutineBacktraceHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class CoroutineBacktraceHelper

protected static array $breakFunctions = [
'Multiplex\Socket\Client->loop', 'Multiplex\Socket\Client->heartbeat',
'FriendsOfHyperf\Sentry\HttpClient\HttpClient->loop',
];

public static function foundCallingOnFunction(): ?string
Expand Down

0 comments on commit cc9f0cf

Please sign in to comment.