Skip to content

hotelReservation: clear the database to avoid duplicate insertion of data#359

Open
MatRunner wants to merge 1 commit into
delimitrou:masterfrom
MatRunner:fix-mongo-init
Open

hotelReservation: clear the database to avoid duplicate insertion of data#359
MatRunner wants to merge 1 commit into
delimitrou:masterfrom
MatRunner:fix-mongo-init

Conversation

@MatRunner
Copy link
Copy Markdown

I found that after restarting the container several times, the performance (QPS) deteriorated significantly. Querying the database revealed that the initial data was inserted repeatedly. Therefore, the database needs to be cleared each time the container is started.

@MatRunner MatRunner changed the title clear the database to avoid duplicate insertion of data hotelReservation: clear the database to avoid duplicate insertion of data Jun 4, 2025
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.

1 participant