Skip to content

Added 2 tests showing a database lock when syncing many groups or one group many times#390

Open
nmalzieu wants to merge 1 commit intomainfrom
noe/database-lock-sync
Open

Added 2 tests showing a database lock when syncing many groups or one group many times#390
nmalzieu wants to merge 1 commit intomainfrom
noe/database-lock-sync

Conversation

@nmalzieu
Copy link
Contributor

2 groups showing something we experience in RN

If I have many (40 ) groups and try to sync them all, I get a Pool error: timed out waiting for connection
I can also reproduce by calling sync on a single group but many times

After 30 secs:

Capture d’écran 2024-08-21 à 18 09 37

@nmalzieu nmalzieu requested a review from a team as a code owner August 21, 2024 16:09
@nplasterer
Copy link
Contributor

Andrew and I merged some fixes but it still didn't fix these tests. I think for the time being you should switch the syncAllGroups method which seems to sync over 100 groups in less than 1 second.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants