Skip to content

Commit

Permalink
[collector]bugfix: fix warehouse data queue consume error (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 authored May 27, 2022
1 parent e80014f commit 7038f00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public CollectRep.MetricsData pollAlertMetricsData() throws InterruptedException
}

public CollectRep.MetricsData pollPersistentStorageMetricsData() throws InterruptedException {
return metricsDataToAlertQueue.poll(2, TimeUnit.SECONDS);
return metricsDataToPersistentStorageQueue.poll(2, TimeUnit.SECONDS);
}

public CollectRep.MetricsData pollMemoryStorageMetricsData() throws InterruptedException {
Expand Down

0 comments on commit 7038f00

Please sign in to comment.