overleaf/services/notifications/README.md

21 lines
456 B
Markdown
Raw Normal View History

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