overleaf/services/notifications
David b59326e96f 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
..
app/js
config
test
.gitignore
.mocharc.json
.nvmrc
app.js
buildscript.txt
docker-compose.ci.yml
docker-compose.yml
Dockerfile
LICENSE
Makefile
package.json
README.md
tsconfig.json

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.