MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / cleanup_session_files

Method cleanup_session_files

web/setup.py:864–868  ·  view source on GitHub ↗

Delete expired session files.

()

Source from the content-addressed store, hash-verified

862
863 @app.command()
864 def cleanup_session_files():
865 """Delete expired session files."""
866 app = create_app(config.APP_NAME + '-cli')
867 with app.app_context():
868 cleanup_session_files()
869
870
871def main():

Callers

nothing calls this directly

Calls 2

create_appFunction · 0.90
cleanup_session_filesFunction · 0.90

Tested by

no test coverage detected