Skip to content

Adds a setup and cli check for the recommended memory limit - #10539

Merged
MorrisJobke merged 7 commits into
masterfrom
feature-8642-memory-check
Aug 21, 2018
Merged

Adds a setup and cli check for the recommended memory limit#10539
MorrisJobke merged 7 commits into
masterfrom
feature-8642-memory-check

Conversation

@weeman1337

Copy link
Copy Markdown
Member

Introduces the MemoryInfo class that handles the memory limit query. I didn't put it into the public namespace.

Closes#8642

@juliusknorrjuliusknorr added enhancement 3. to review Waiting for reviews papercut Annoying recurring UX issue with possibly simple fix. labels Aug 9, 2018
Comment threadlib/private/Server.php Outdated
});
$this->registerAlias('SystemTagManager', \OCP\SystemTag\ISystemTagManager::class);

$this->registerService(MemoryInfo::class, function() {

Copy link
Copy Markdown
Member

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

@rullzerrullzer added this to the Nextcloud 14 milestone Aug 9, 2018
@rullzer

Copy link
Copy Markdown
Member

Lets also try to get this into 14.

@weeman1337
weeman1337force-pushed the feature-8642-memory-check branch 2 times, most recently from 47f9fdb to 71a3ae5CompareAugust 9, 2018 17:56
@rullzer
rullzerforce-pushed the feature-8642-memory-check branch from 71a3ae5 to d4f26ebCompareAugust 10, 2018 11:20
@rullzer

Copy link
Copy Markdown
Member

I rebased. Squased the last commit in the first one. And bumped the autoloader.

@rullzer
rullzerforce-pushed the feature-8642-memory-check branch from d4f26eb to 6211577CompareAugust 10, 2018 11:26
weeman1337and others added 5 commits August 20, 2018 15:24
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>
@skjnldsv
skjnldsvforce-pushed the feature-8642-memory-check branch from 6211577 to ce1e213CompareAugust 20, 2018 13:25
@skjnldsv

Copy link
Copy Markdown
Member

Rebased and cleaned up.

@skjnldsv
skjnldsv requested a review from blizzzAugust 20, 2018 13:26
@@ -0,0 +1,60 @@
<?php

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
MemberAuthor

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>

@skjnldsvskjnldsv left a comment

Copy link
Copy Markdown
Member

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>
@MorrisJobke
MorrisJobke merged commit 3836993 into masterAug 21, 2018
@MorrisJobke
MorrisJobke deleted the feature-8642-memory-check branch August 21, 2018 07:51
@rullzerrullzer mentioned this pull request Aug 22, 2018
3 tasks
@MorrisJobkeMorrisJobke mentioned this pull request Aug 24, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsenhancementpapercutAnnoying recurring UX issue with possibly simple fix.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@weeman1337@rullzer@skjnldsv@nickvergessen@MorrisJobke@blizzz@juliusknorr