A bug on the metric calculation inside async API clients
seratch opened this issue · comments
As mentioned at #1268, the second line of code in this internal method seems to set an invalid value for the queue size: https://github.com/slackapi/java-slack-sdk/blob/v1.37.0/slack-api-client/src/main/java/com/slack/api/rate_limits/metrics/impl/BaseMemoryMetricsDatastore.java#L273-L274
The code should be corrected without any side effects to the current behavior.