Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gphper committed Jun 16, 2022
1 parent 4dadc6e commit a9ba461
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rpc-client/src/Concern/ServiceTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ protected function __proxyCall(string $interfaceClass, string $methodName, array
} catch (Throwable $e) {
throw $e;
} finally { // NOTICE: always release resource
$connection->reconnect();
$connection->release();
}

Expand Down

0 comments on commit a9ba461

Please sign in to comment.