TODO: fix deadlock caused by SessionStore#cleanup
This commit is contained in:
parent
d8ab2decef
commit
e2c8fca29b
@ -101,6 +101,7 @@ export class SessionStore<S extends ISession> extends Store {
|
|||||||
|
|
||||||
protected async cleanup() {
|
protected async cleanup() {
|
||||||
const now = Date.now()
|
const now = Date.now()
|
||||||
|
// FIXME causes deadlocks in tests
|
||||||
await this.getRepository().delete({
|
await this.getRepository().delete({
|
||||||
expiredAt: LessThan(now),
|
expiredAt: LessThan(now),
|
||||||
} as any)
|
} as any)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user