You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this line of the rxdb-server lwt gets parsed down to a integer which has the catastrophic side effect of creating an infinite synchronization-loop in the event when many documents have such a close lwt that they only differs in their decimal point so that they all get parsed to the exact same integer. This happens if we use bulkInsert or bulkUpsert:
A ugly workaround until a proper fix arrives is to just don't use bulk at all and rather something like this:
for(constdataofsomethingBig){awaitnewPromise((resolve)=>setTimeout(resolve,1));// Ensuring `lwt` cannot be on the same msawaitrxdb.yourCollection.insert(somethingBig);}
The text was updated successfully, but these errors were encountered:
In this line of the rxdb-server
lwt
gets parsed down to a integer which has the catastrophic side effect of creating an infinite synchronization-loop in the event when many documents have such a closelwt
that they only differs in their decimal point so that they all get parsed to the exact same integer. This happens if we usebulkInsert
orbulkUpsert
:A ugly workaround until a proper fix arrives is to just don't use bulk at all and rather something like this:
The text was updated successfully, but these errors were encountered: