File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ class OTLPExporterMixin(
185185 timeout: Backend request timeout in seconds
186186 compression: gRPC compression method to use
187187 """
188+
188189 _MAX_RETRY_TIMEOUT = 64
189190
190191 def __init__ (
@@ -290,7 +291,9 @@ def _export(
290291 # expo returns a generator that yields delay values which grow
291292 # exponentially. Once delay is greater than max_value, the yielded
292293 # 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+ ):
294297 if delay == self ._MAX_RETRY_TIMEOUT or self ._shutdown :
295298 return self ._result .FAILURE
296299
You can’t perform that action at this time.
0 commit comments