Demote connection loop error
Summary: We can't action tasks based on this report, so better to raise it as a warning. Reviewed By: nikoant Differential Revision: D32758850 fbshipit-source-id: 2e8ff984f40d2d0431db192e8f2d983d52b77ccd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a721e689be
commit
3e258c6969
@@ -508,7 +508,7 @@ class ConnectionTracker {
|
|||||||
|
|
||||||
this.connectionAttempts.set(key, entry);
|
this.connectionAttempts.set(key, entry);
|
||||||
if (entry.length >= this.connectionProblemThreshold) {
|
if (entry.length >= this.connectionProblemThreshold) {
|
||||||
console.error(
|
console.warn(
|
||||||
`[conn] Connection loop detected with ${key}. Connected ${
|
`[conn] Connection loop detected with ${key}. Connected ${
|
||||||
this.connectionProblemThreshold
|
this.connectionProblemThreshold
|
||||||
} times within ${this.timeWindowMillis / 1000}s.`,
|
} times within ${this.timeWindowMillis / 1000}s.`,
|
||||||
|
|||||||
Reference in New Issue
Block a user