Skip to content

Commit

Permalink
Merge pull request #154 from galaxyproject/natefoo-patch-1
Browse files Browse the repository at this point in the history
Use days as interval in `query archivable-histories` rather than minutes.
  • Loading branch information
hexylena authored Apr 15, 2024
2 parents 0d93537 + e31c5cf commit 54dc164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parts/22-query.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5256,8 +5256,8 @@ query_archivable-histories() { ##? [--user-last-active=360] [--history-last-acti
AND NOT history.purged
AND NOT history_dataset_association.deleted
AND NOT history_dataset_association.purged
AND history.update_time < now() - interval '$arg_history_last_active minutes'
AND galaxy_user.update_time < now() - interval '$arg_user_last_active minutes'
AND history.update_time < now() - interval '$arg_history_last_active days'
AND galaxy_user.update_time < now() - interval '$arg_user_last_active days'
$extra_conds
GROUP BY
history.id, galaxy_user.id
Expand Down

0 comments on commit 54dc164

Please sign in to comment.