-
Alexander Pace authored
limit the number of public permissions to speed up unauthenticated access. note that no data products are deleted, and this only removes public permissions for mdc events.
Alexander Pace authoredlimit the number of public permissions to speed up unauthenticated access. note that no data products are deleted, and this only removes public permissions for mdc events.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
cleanup 647 B
#!/bin/sh
python3 /app/gracedb_project/manage.py update_user_accounts_from_ligo_ldap kagra
python3 /app/gracedb_project/manage.py update_user_accounts_from_ligo_ldap ligo
python3 /app/gracedb_project/manage.py update_user_accounts_from_ligo_ldap robots
python3 /app/gracedb_project/manage.py update_catalog_managers_group
python3 /app/gracedb_project/manage.py remove_inactive_alerts
python3 /app/gracedb_project/manage.py clearsessions 2>&1 | grep -v segment
python3 /app/gracedb_project/manage.py remove_old_mdc_public_perms
PGPASSWORD=$DJANGO_DB_PASSWORD psql -h $DJANGO_DB_HOST -U $DJANGO_DB_USER -c "VACUUM VERBOSE ANALYZE;" $DJANGO_DB_NAME