Skip to content

Commit

Permalink
Merge pull request #2026 from akto-api-security/hotfix/fix_max_run_ti…
Browse files Browse the repository at this point in the history
…me_summaries_in_status

Fixing case where test can run uptil 6 hours
  • Loading branch information
Ark2307 authored Jan 28, 2025
2 parents 7e4d79f + 6316e1f commit b68ec46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void run(){
@Override
public void accept(Account t) {
try {
int timeFilter = Context.now() - 30 * 60;
int timeFilter = Context.now() - 6 * 60 * 60;
List<TestingRunResultSummary> currentRunningTests = TestingRunResultSummariesDao.instance.findAll(
Filters.gte(TestingRunResultSummary.START_TIMESTAMP, timeFilter),
Projections.include("_id", TestingRunResultSummary.STATE, TestingRunResultSummary.TESTING_RUN_ID)
Expand Down

0 comments on commit b68ec46

Please sign in to comment.