Reduce logging verbosity for flipper socket provider switches
Summary: Change that removes log verbosity around socket provider switching. Reviewed By: jknoxville Differential Revision: D31395115 fbshipit-source-id: aece2facdf16c517522488c21496ea6a0eb50936
This commit is contained in:
committed by
Facebook GitHub Bot
parent
026f8fc308
commit
bce2cdc316
@@ -481,15 +481,12 @@ void FlipperConnectionManagerImpl::reevaluateSocketProvider() {
|
||||
if (failedSocketConnectionAttempts < maxFailedSocketConnectionAttempts) {
|
||||
++failedSocketConnectionAttempts;
|
||||
} else {
|
||||
log("Failed to connect with the current socket provider");
|
||||
failedSocketConnectionAttempts = 0;
|
||||
useLegacySocketProvider = !useLegacySocketProvider;
|
||||
|
||||
if (useLegacySocketProvider) {
|
||||
log("Use legacy socket provider");
|
||||
FlipperSocketProvider::shelveDefault();
|
||||
} else {
|
||||
log("Use websocket provider");
|
||||
FlipperSocketProvider::unshelveDefault();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user