overleaf/services/notifications/README.md

21 lines
456 B
Markdown
Raw Normal View History

2019-05-07 15:23:20 +00:00
overleaf/notifications
2016-01-14 12:35:16 +00:00
===============
2019-05-07 15:23:20 +00:00
An API for managing user notifications in Overleaf
2016-08-11 11:03:50 +00:00
database indexes
================
For notification expiry to work, a TTL index on `notifications.expires` must be created:
2016-08-11 11:03:50 +00:00
```javascript
db.notifications.createIndex({expires: 1}, {expireAfterSeconds: 10})
2016-08-11 11:03:50 +00:00
```
2019-05-09 11:03:27 +00:00
License
=======
The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3.
Copyright (c) Overleaf, 20162019.