You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Reduce console log spam (#3896)
* Reduce console log spam A couple of different things: * Increase the `MaxListeners` setting on `MatrixClient` and `Thread`, so that we don't get "possible EventEmitter leak" warnings * Disable a couple of warnings/info lines that are just part of regular operation and are logged in large volumes. * another noisy log line * Reinstate warning about receipts for missing events Apparently this is being worked on
This commit is contained in:
committed by
GitHub
parent
e98ce78027
commit
1889f8dad5
@@ -1494,6 +1494,9 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
|
||||
|
||||
this.ignoredInvites = new IgnoredInvites(this);
|
||||
this._secretStorage = new ServerSideSecretStorageImpl(this, opts.cryptoCallbacks ?? {});
|
||||
|
||||
// having lots of event listeners is not unusual. 0 means "unlimited".
|
||||
this.setMaxListeners(0);
|
||||
}
|
||||
|
||||
public set store(newStore: Store) {
|
||||
|
||||
Reference in New Issue
Block a user