LocalAuth JWT token refresh lock
Open
bug
- Dominant language
- Haskell
- Stars
- 1.3k
- Forks
- 201
- PR merge metrics
- No merged PRs in 30d
Description
**Description**
Internal server error on POST to http://127.0.0.1:8080/refreshToken
```
A web handler threw an exception. Details:
SQLite3 returned ErrorBusy while attempting to perform prepare "SELECT COUNT(*) FROM accounts WHERE userId = :userId AND tokenId = :tokenId AND status = 'Active'": database is locked
```
As result local auth working around one minute, then user becomes signed out.
Contributor guide
Assessment
This issue has not been assessed yet.