e86ef1139e
Use mongodb-legacy in notifications for callback support GitOrigin-RevId: 90f05f747e221c1bd61564e2e28e505d0b125467
overleaf/notifications
An API for managing user notifications in Overleaf
database indexes
For notification expiry to work, a TTL index on notifications.expires must be created:
db.notifications.createIndex({expires: 1}, {expireAfterSeconds: 10})
License
The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3.
Copyright (c) Overleaf, 2016–2019.