change: Increase logging level of lock expiry.

This commit is contained in:
Ruben Verborgh 2020-11-29 10:54:57 +01:00
parent baf68889f9
commit 1d08f463f6

View File

@ -45,7 +45,7 @@ export class WrappedExpiringLock extends EventEmitter implements ExpiringLock {
}
private async expire(): Promise<void> {
this.logger.verbose(`Lock expired after ${this.expiration}ms`);
this.logger.warn(`Lock expired after ${this.expiration}ms`);
this.emit('expired');
try {
await this.innerLock.release();