Skip to content

Commit

Permalink
Update 22-query.sh
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
natefoo authored Apr 12, 2024
1 parent 0d93537 commit e31c5cf
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 e31c5cf

Please sign in to comment.