Files
overleaf-cep/services/notifications
David 7dbae5bb02 Merge pull request #16873 from overleaf/dp-mongo-command-monitoring
Use mongo command monitoring to add timing metrics

GitOrigin-RevId: e7e5dd5cca1ba3802c02198ccf81058d4da3f1e7
2024-02-23 09:02:55 +00:00
..
2021-03-17 16:34:06 -04:00
2019-05-09 12:03:27 +01:00

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, 20162019.