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
Currently there are many lines in the code violating no-await-in-loop . They are ignored with // eslint-disable-next-line no-await-in-loop, but in the longer term they should be fixed for performance reasons. It will become more important the more sources are used.
The text was updated successfully, but these errors were encountered:
This is fixed in the Uwazi in 199e6db, which was the main place it was needed.
There are still two loop awaits in the backend import script, but their performance impact is not critical at the moment, and would require a lot of testing to be confident in removing them. From my reading of the code they should be easy to remove, since the actual db work is protected by a "batch" (like a transaction). But as I recall, there were still some issues when I actually tried to remove them and do an import.
Currently there are many lines in the code violating no-await-in-loop . They are ignored with
// eslint-disable-next-line no-await-in-loop
, but in the longer term they should be fixed for performance reasons. It will become more important the more sources are used.The text was updated successfully, but these errors were encountered: