mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 13:43:46 -05:00
20 lines
456 B
Markdown
20 lines
456 B
Markdown
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, 2016–2019.
|