@gravity-ui/gateway 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/grpc.js +1 -1
- package/package.json +1 -1
package/build/components/grpc.js
CHANGED
|
@@ -601,7 +601,7 @@ function createGrpcAction({ root, credentials }, endpoints, config, serviceKey,
|
|
|
601
601
|
const shouldRetry = error && retries && (0, grpc_1.isRetryableError)(error);
|
|
602
602
|
if (shouldRecreateService) {
|
|
603
603
|
ctx.log(`Service client for ${config.protoKey} is going to be re-created`);
|
|
604
|
-
recreateService(service,
|
|
604
|
+
recreateService(service, 5000, ctx, args);
|
|
605
605
|
}
|
|
606
606
|
if (shouldRetry) {
|
|
607
607
|
ctx.logError(`Request failed, retrying ${retries--} more times`);
|