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

uploaded photos not visible right after upload #26

Open
plegall opened this issue Jan 31, 2024 · 0 comments
Open

uploaded photos not visible right after upload #26

plegall opened this issue Jan 31, 2024 · 0 comments

Comments

@plegall
Copy link
Member

plegall commented Jan 31, 2024

Back in 2021 and version 12, Piwigo introduced the "lounge". It is buffer mecanism. See description on https://piwigo.org/release-12.0.0#technical_features :

Lounge
New background mechanism, the “lounge“, to bufferize photos during upload. This will avoid too many user cache rebuilds. To make it more understandable: the server load will be much lower on large galleries during photo upload. When saying "large galleries" we mean 100,000 photos and more.

When you upload a photo, it is not immediately visible in the gallery (not even in the administration) of Piwigo. The lounge must be emptied first. You can either wait (5 minutes by default, see Piwigo $conf['lounge_max_duration']) or force the publish by calling pwg.images.uploadCompleted.

Piwigo Remote Sync should call pwg.images.uploadCompleted at the end of uploads.

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

No branches or pull requests

1 participant