Skip to content

Commit

Permalink
add default values for from/to (#7476)
Browse files Browse the repository at this point in the history
  • Loading branch information
uzhastik authored Aug 6, 2024
1 parent 8eb98a4 commit 99add96
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@ class TSolomonDqIntegration: public TDqIntegrationBase {

auto settings = soReadObject.Object().Settings();
auto& settingsRef = settings.Ref();
TString from;
TString to;
const auto now = TInstant::Now();
const auto now1h = now - TDuration::Hours(1);
TString from = now1h.ToStringUpToSeconds();
TString to = now.ToStringUpToSeconds();
TString program;
bool downsamplingDisabled = false;
TString downsamplingAggregation = "AVG";
Expand Down

0 comments on commit 99add96

Please sign in to comment.