-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Adds a setup and cli check for the recommended memory limit #10539
Conversation
lib/private/Server.php
Outdated
@@ -273,6 +273,10 @@ public function __construct($webRoot, \OC\Config $config) { | |||
}); | |||
$this->registerAlias('SystemTagManager', \OCP\SystemTag\ISystemTagManager::class); | |||
|
|||
$this->registerService(MemoryInfo::class, function() { |
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.
this should not be required but work automatically
Lets also try to get this into 14. |
47f9fdb
to
71a3ae5
Compare
71a3ae5
to
d4f26eb
Compare
I rebased. Squased the last commit in the first one. And bumped the autoloader. |
d4f26eb
to
6211577
Compare
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
…w the recommended value Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6211577
to
ce1e213
Compare
Rebased and cleaned up. |
@@ -0,0 +1,60 @@ | |||
<?php |
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.
declare strict types, please, and also the license header as found on other PHP files
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.
Thanks for the review. I added the license texts and PHP strict mode.
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
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.
Good for me! Awesome work!! 🤗
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Introduces the
MemoryInfo
class that handles the memory limit query. I didn't put it into thepublic
namespace.Closes #8642