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:
parent
64247d0447
commit
dcf153989a
3 changed files with 5 additions and 3 deletions
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue