-
Notifications
You must be signed in to change notification settings - Fork 450
Repository is now instanciated on the fly #440
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Tests are failing tho |
Right, there was a test conflicting with the very purpose of this pull request. I removed this test. There are still some failing tests, but I guess these out of memory errors are unrelated. |
The unit tests have improved greatly the last couple of weeks. Could you rebase on top of master? |
25b47fa
to
4b2db2d
Compare
This avoids a database connection to be established for every request Fixes issue FriendsOfSymfony#422
48bf733
to
208110e
Compare
Ok @dinamic , I made the rebase and tests are fine now. |
Can you handle authcodemanagers too? |
This avoids a database connection to be established for every request Completes fix for issue FriendsOfSymfony#422
Yes @dkarlovi, good point. AuthCodeManagers are handled as well now. |
No more repository instantiated in constructor of ClientManager and TokenManager.
This avoids a database connection to be established for every request.
Fixes issue #422