File tree 1 file changed +4
-1
lines changed
exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ class OTLPExporterMixin(
185
185
timeout: Backend request timeout in seconds
186
186
compression: gRPC compression method to use
187
187
"""
188
+
188
189
_MAX_RETRY_TIMEOUT = 64
189
190
190
191
def __init__ (
@@ -290,7 +291,9 @@ def _export(
290
291
# expo returns a generator that yields delay values which grow
291
292
# exponentially. Once delay is greater than max_value, the yielded
292
293
# value will remain constant.
293
- for delay in _create_exp_backoff_generator (max_value = self ._MAX_RETRY_TIMEOUT ):
294
+ for delay in _create_exp_backoff_generator (
295
+ max_value = self ._MAX_RETRY_TIMEOUT
296
+ ):
294
297
if delay == self ._MAX_RETRY_TIMEOUT or self ._shutdown :
295
298
return self ._result .FAILURE
296
299
You can’t perform that action at this time.
0 commit comments