1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

JS-5505: fix

This commit is contained in:
Andrew Simachev 2024-09-30 15:33:10 +02:00
parent 64247d0447
commit dcf153989a
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF
3 changed files with 5 additions and 3 deletions

View file

@ -69,7 +69,8 @@ class Server {
if (!this.lastErrors) {
this.lastErrors = [];
} else if (this.lastErrors.length >= maxStdErrChunksBuffer) {
} else
if (this.lastErrors.length >= maxStdErrChunksBuffer) {
this.lastErrors.shift();
};