Skip to content
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

Update Disk Usage #3462

Closed
akhilleusuggo opened this issue Aug 3, 2020 · 10 comments
Closed

Update Disk Usage #3462

akhilleusuggo opened this issue Aug 3, 2020 · 10 comments
Labels

Comments

@akhilleusuggo
Copy link
Contributor

akhilleusuggo commented Aug 3, 2020

This feature is stuck at 1000 videos . If the platform does have more then 1000 videos , only the first 1000 will be updated , the rest wont

php updateDiskUsage.php 
...................
..................
994/2555 (success) [1110] *******
995/2555 (success) [1111]  *******
996/2555 (success) [1112]  *******
997/2555 (success) [1113]  *******
998/2555 (success) [1114]  *******
999/2555 (success) [1115]  *******
1000/2555 (success) [1116]  *******
@DanielnetoDotCom
Copy link
Member

What exactly feature are you talking about?

the command line?

@akhilleusuggo
Copy link
Contributor Author

Both the command line and the button ( for admin to update disk usage ) , get stuck at 1000 videos . I can't find where you have put the limit .

DanielnetoDotCom added a commit that referenced this issue Aug 3, 2020
Now you can setup $global['rowCount'] in your configuration.php file;
it may increase your max rows, for example

$global['rowCount'] = 10000;

your max rows will be 10k rows
@DanielnetoDotCom
Copy link
Member

Now you can setup $global['rowCount'] in your configuration.php file;
it may increase your max rows, for example

$global['rowCount'] = 10000;

your max rows will be 10k rows

@akhilleusuggo
Copy link
Contributor Author

Thank you , i'm updating and let you know if it works . The issue Daniel , is that you HAVE TO create a wiki page with all this hidden $global['whatever'] = whatever;

This issue , #3456 , was fixed with one of this ''hidden'' parameters , but I'm not able to find it .

@DanielnetoDotCom
Copy link
Member

DanielnetoDotCom commented Aug 3, 2020

The $global['rowCount'] = 10000; I just created based on your issue :)

but definitely I have to add it to the wiki. if you can add it in the wiki, I will appreciate

@akhilleusuggo
Copy link
Contributor Author

akhilleusuggo commented Aug 3, 2020

We need to add all this options . And yes you created another one for the issue ERR_RESPONSE_HEADERS_TOO_BIG , and now it's ''lost''

I'll do it .

Regarding this issue is not fixed ...

997/2555 (success) [1113]  *******
998/2555 (success) [1114]  *******
999/2555 (success) [1115]  *******
1000/2555 (success) [1116]  *******

image

image

@jphovila
Copy link

jphovila commented Aug 4, 2020

We need to add all this options . And yes you created another one for the issue ERR_RESPONSE_HEADERS_TOO_BIG , and now it's ''lost''

I'll do it .

Regarding this issue is not fixed ...

997/2555 (success) [1113]  *******
998/2555 (success) [1114]  *******
999/2555 (success) [1115]  *******
1000/2555 (success) [1116]  *******

image

image

I agree: getting the documentation up to date is very important. I think this is something where us the community must lend a hand, since @DanielnetoDotCom has more than enough work in maintaining and developing the code.

@DanielnetoDotCom
Copy link
Member

OMG, I just found another hidden variable

if (empty($global['limitForUnlimitedVideos'])) {

It is specific for videos

$global['limitForUnlimitedVideos'] = 10000;

@DanielnetoDotCom
Copy link
Member

I just sent an update that will use the $global['rowCount'] mentioned above in case $global['limitForUnlimitedVideos'] does not exists

@akhilleusuggo
Copy link
Contributor Author

WORKS !

I though this would fix my old issue , but still no luck
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants