overleaf/services/notifications/README.md
2019-05-09 12:03:27 +01:00

20 lines
456 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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:
```javascript
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.