Skip to content

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