overleaf/services/notifications/README.md
Shane Kilkelly 88f5f29982 Change how notification expiry works
Set the `expires` field to be a date in the future, after which the
document should be removed.
2016-08-12 11:38:17 +01:00

309 B

notifications-sharelatex

An API for managing user notifications in ShareLaTeX

database indexes

For notification expiry to work, a TTL index on notifications.expires must be created:

db.notifications.createIndex({expires: 1}, {expireAfterSeconds: 10})