Possibility to exclude certain paths from 'rolling'
- Dominant language
- JavaScript
- Stars
- 130
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
### Prerequisites
- [X] I have written a descriptive issue title
- [X] I have searched existing issues to ensure the feature has not already been requested
### 🚀 Feature Proposal
I'd like to specify paths that are ignored by the 'rolling' behaviour.
### Motivation
I want to have some endpoint in the background that is frequently checked to see if I have a session.
But since this is in the background there is no 'user interaction'. Meaning I want the session to time out eventually if the user does nothing, plus I want to show them after a time that the session has timed out (e.g. a modal) by checking the response status of the session endpoing
### Example
```
await server.register(fastifySession, {
...
rolling: {
excluded: ['/session'],
}
});
```
Contributor guide
Assessment
This issue has not been assessed yet.