Skip to content

Commit ed8612f

Browse files
gustavocidornelaswhoseoyster
authored andcommitted
Introduce OPENLAYER_DISABLE_PUBLISH env variable
1 parent c7dc2bd commit ed8612f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openlayer/tracing/tracer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
logger = logging.getLogger(__name__)
1616

17-
_publish = utils.get_env_variable("PUBLISH") == "true"
17+
_publish = utils.get_env_variable("OPENLAYER_DISABLE_PUBLISH") != "true"
1818
_streamer = None
1919
if _publish:
2020
_streamer = data_streamer.DataStreamer()

0 commit comments

Comments
 (0)