Skip to content

Commit

Permalink
Black Hole feature: fix the enable
Browse files Browse the repository at this point in the history
Feature must be enable either if WM_GW_BUFFERING_MAX_BUFFERED_PACKETS > 0
or WM_GW_BUFFERING_MAX_DELAY_WITHOUT_PUBLISH > 0
  • Loading branch information
GwendalRaoul committed Jun 6, 2024
1 parent ba5c4e3 commit a2ff2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_transport/wirepas_gateway/transport_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def __init__(self, settings, **kwargs):
self.monitoring_thread = None
self.minimum_sink_cost = settings.buffering_minimal_sink_cost

if settings.buffering_max_buffered_packets > 0:
if settings.buffering_max_buffered_packets > 0 or settings.buffering_max_delay_without_publish > 0:
logging.info(
" Black hole detection enabled: max_packets=%s packets, max_delay=%s",
settings.buffering_max_buffered_packets,
Expand Down

0 comments on commit a2ff2ed

Please sign in to comment.