Skip to content

Commit

Permalink
revert change for sealAt
Browse files Browse the repository at this point in the history
  • Loading branch information
KSDaemon committed Feb 28, 2025
1 parent 0037104 commit d7e05db
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,8 @@ export class PreAggregationPartitionRangeLoader {
if ((!partitionInvalidateKeyQueries || partitionInvalidateKeyQueries.length > 0) && buildRangeEnd < range[1]) {
loadRange[1] = buildRangeEnd;
}
// partitionRanges() returns range in UTC.
const sealAt = addSecondsToLocalTimestamp(
loadRange[1], 'UTC', this.preAggregation.updateWindowSeconds || 0
loadRange[1], this.preAggregation.timezone, this.preAggregation.updateWindowSeconds || 0
).toISOString();
return {
...this.preAggregation,
Expand Down

0 comments on commit d7e05db

Please sign in to comment.