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 7227fb9 commit 09d7a02Copy full SHA for 09d7a02
firebase-common/src/main/java/com/google/firebase/heartbeatinfo/DefaultHeartBeatController.java
@@ -151,7 +151,7 @@ private DefaultHeartBeatController(
151
152
@Override
153
@NonNull
154
- public HeartBeat getHeartBeatCode(@NonNull String heartBeatTag) {
+ public synchronized HeartBeat getHeartBeatCode(@NonNull String heartBeatTag) {
155
long presentTime = System.currentTimeMillis();
156
HeartBeatInfoStorage storage = storageProvider.get();
157
boolean shouldSendGlobalHB = storage.shouldSendGlobalHeartBeat(presentTime);
0 commit comments