We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e683c1d commit 9f924d6Copy full SHA for 9f924d6
firebase-perf/src/main/java/com/google/firebase/perf/session/SessionManager.java
@@ -110,6 +110,11 @@ public void stopGaugeCollectionIfSessionRunningTooLong() {
110
* @see PerfSession#isVerbose()
111
*/
112
public void updatePerfSession(PerfSession perfSession) {
113
+ // Do not update the perf session if it is the exact same sessionId.
114
+ if (perfSession.sessionId() == this.perfSession.sessionId()) {
115
+ return;
116
+ }
117
+
118
this.perfSession = perfSession;
119
120
synchronized (clients) {
0 commit comments