HomePhabricator
Diffusion Comm 266b7425934b

[services] Tunnelbroker - Skipping sending notif token request when…

Description

[services] Tunnelbroker - Skipping sending notif token request when notifications are off by the config flag

Summary:
This diff skipping sending new notif token requests to the bidirectional stream when the notifications are off by the notifications.disable config flag parameter. We don't need to send this message to the stream and should skip checking the existing notification token in this case.

Linear task: ENG-2639

Test Plan:

  1. Add the following config parameter to the tunnelbroker.ini file:
[notifications]
disable = true
  1. Connect to the Tunnelbroker's message stream.
  2. The expected result should be no newNotifyTokenRequired message in any case.

Reviewers: jon, bartek

Reviewed By: bartek

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D6850