Skip to content

Commit 9963542

Browse files
committed
oops
1 parent a4b87b3 commit 9963542

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

exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/exporter.py

+4-1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)