mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
14 lines
328 B
Markdown
14 lines
328 B
Markdown
notifications-sharelatex
|
|
===============
|
|
|
|
An API for managing user notifications in ShareLaTeX
|
|
|
|
|
|
database indexes
|
|
================
|
|
|
|
For notification expiry to work, a ttl index on `notifications.expiresFrom` must be created:
|
|
|
|
```javascript
|
|
db.notifications.createIndex({expiresFrom: 1}, {expireAfterSeconds: (60*60*24*30)})
|
|
```
|