Shane Kilkelly b616498ea3 upgrade to metrics 1.7.1, with uv-threadpool fix 9 years ago
..
app 5f0bf16c75 update to new metrics api 9 years ago
config 8050f5ea08 change settings to 3042 10 years ago
test e67c546254 Upgrade metrics 9 years ago
.gitignore 1e60327f2e create scaffolding base on tags repo 10 years ago
.nvmrc 197ee9f4d9 add a .nvmrc file 10 years ago
Gruntfile.coffee 5360bcae77 fix unit tests 10 years ago
README.md 88f5f29982 Change how notification expiry works 10 years ago
app.coffee e67c546254 Upgrade metrics 9 years ago
npm-shrinkwrap.json b616498ea3 upgrade to metrics 1.7.1, with uv-threadpool fix 9 years ago
package.json b616498ea3 upgrade to metrics 1.7.1, with uv-threadpool fix 9 years ago

README.md

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})