Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- use db_exist service method to check database #104

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ysinjab
Copy link

@ysinjab ysinjab commented May 12, 2019

when login instead of list all dbs and check if the database passed in the list, i changed it to use db_exist service method.

ysinjab added 3 commits May 12, 2019 23:25
- call db.db_exist(database) in login
- modify unit tests to reflect the new changes in login
…njab/erppeek into use-db-exists-method-to-check-dbname
@ysinjab
Copy link
Author

ysinjab commented May 23, 2019

Hi,

This pull request is to improve the performance of login. When there are hundreds of databases in odoo this is a bottleneck.

I fixed most of the unit tests, but one unit test I could not debug. Any help please?

thanks

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