Skip to content

Commit 62906f3

Browse files
committed
polishing
1 parent 9a5c363 commit 62906f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

telemetry/memory.go

+4
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ func (e *RecorderSingle) SynchronizeConfig(cfg InitConfig, timedUntilReady int64
137137

138138
// SynchronizeUniqueKeys syncs unique keys
139139
func (e *RecorderSingle) SynchronizeUniqueKeys(bulkSize int64) error {
140+
if e.uniqueKeysStorage == nil {
141+
return nil
142+
}
143+
140144
uniques := e.uniqueKeysStorage.PopN(bulkSize)
141145

142146
if len(uniques.Keys) < 1 {

0 commit comments

Comments
 (0)