Commit 1dc47b5cc56f1f10e0ce7c3f0d2b60e34b83393c
1 parent
60c141d3
Revert interval check for telemetry subscription
Showing
1 changed file
with
1 additions
and
3 deletions
... | ... | @@ -434,9 +434,7 @@ public class DefaultSubscriptionManagerService extends TbApplicationEventListene |
434 | 434 | if (curTs > value) { |
435 | 435 | long startTs = subscription.getStartTime() > 0 ? Math.max(subscription.getStartTime(), value + 1L) : (value + 1L); |
436 | 436 | long endTs = subscription.getEndTime() > 0 ? Math.min(subscription.getEndTime(), curTs) : curTs; |
437 | - if (startTs > 1) { | |
438 | - queries.add(new BaseReadTsKvQuery(key, startTs, endTs, 0, 1000, Aggregation.NONE)); | |
439 | - } | |
437 | + queries.add(new BaseReadTsKvQuery(key, startTs, endTs, 0, 1000, Aggregation.NONE)); | |
440 | 438 | } |
441 | 439 | }); |
442 | 440 | if (!queries.isEmpty()) { | ... | ... |