-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Draft
Conversation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
CarlSchwan
CarlSchwan
approved these changes
Sep 10, 2026
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
$this->has will almost always return true as it checks class_exists and also $this->server->has, so the if made no sense. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Building an exception object can be expensive, avoid building one only to fallback to server DI from applications. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc
come-nc
changed the title
(削除) fix: Short-circuit aliases to avoid querying container for this (削除ここまで)
(追記) perf: Speed up fetching services from container (追記ここまで)
Sep 10, 2026
come-nc
added this pull request to stack #64192
September 10, 2026 15:09
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
come-nc
commented
Sep 10, 2026
Contributor
Author
I think the flat array for aliases cannot work, at least not how I implemented it here.
Each container (one for server and one per application) may have its own aliases.
So the alias should be resolved at the last minute, before calling pimple container, never earlier. I’ll have to see if this can be done without too much trouble.
The rest of the changes are not impacted I believe.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Speed containers lookup by:
Checklist
3. to review, feature component)stable32)AI (if applicable)