@softvisio/core
Version:
Softisio core
20 lines (15 loc) • 318 B
YAML
module: api
type: postgresql
patch: 6
emits:
- api/token/delete # user_id
- api/token/update
- api/session/delete # user_id
- api/session/update
locks: ~
cron:
cleanup:
cron: "0 1 * * *" # 01:00 everyday
timezone: ~
query: |-
DELETE FROM api_session WHERE expires <= CURRENT_TIMESTAMP;