-
Notifications
You must be signed in to change notification settings - Fork 16
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
Resetting a shadow causes HTTP 504 if the operation takes long #187
Comments
The process should output something once a minute to not time out. |
In 5c8d318 an error box is added so that user can see when the timeout happens. Unfortunately I don't think there is any easy way to create output to avoid this timeout. The php times out after one minute in the ajax call when it's running its exec command. There is no output from the exec command itself until it has completed, so I don't know how to make the php extend the timeout period during it. |
Closing in favor of #465 |
While successful, running
wp-shadow-reset
via SSH on our site takes somewhat long:Presumably the large size of the database or some other phenomenon causes the AJAX request that is made when resetting the exact same shadow via WP admin to timeout with HTTP 504, taken from chrome dev console response/request headers:
There is also no indication to the user that the operation failed without opening the developer console, the button just remains disabled.
The text was updated successfully, but these errors were encountered: