Skip to content

Commit

Permalink
config: clean session activity tracking table
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeWatt committed Sep 10, 2024
1 parent efb037c commit ce67119
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hepdata/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ def _(x):
'schedule': crontab(minute=0, hour=1), # execute daily at 1am UTC
'args': (1,), # INSPIRE records (with HEPData) updated yesterday
},
'session_cleaner': {
'task': 'invenio_accounts.tasks.clean_session_table',
'schedule': timedelta(days=1),
},
'delete_login_ips': {
'task': 'invenio_accounts.tasks.delete_ips',
'schedule': timedelta(days=30),
},
}

# Number of workers running the datacite queue
Expand Down

0 comments on commit ce67119

Please sign in to comment.