apache/airflow

Add `airflow db clean-all-expired-sessions` ? command

Closed

#33,370 opened on Aug 13, 2023

 (6 comments) (0 reactions) (0 assignees)Python (16,781 forks)batch import
good first issuekind:meta

Repository metrics

Stars
 (44,809 stars)
PR merge metrics
 (Avg merge 7d 18h) (834 merged PRs in 30d)

Description

Body

With #33347 we already can cleanup session table with the same mechanism we have for all tables where --clean-before-timestamp == expiry. This is consistent with other tables, but 'session` table might have a dedicated command that will clean all the already expired sessions.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Contributor guide