• Resolved jasonpiersonawana

    (@jasonpiersonawana)


    I was trying to run the scan in the free version on one of our sandboxes, which is an exact copy of production. The session on the WP admin panel keeps timing out due to inactivity and the scan stops. I opened the browser dev tools during the scan and I see a call to /wp-json/media-cleaner/v1/extract_references is being made every few seconds. I’m assuming this is how the plugin is scanning each few posts?
    I see this response for almost each one:
    {"success":true,"message":"Extracted references from 5 posts in 0ms.","data":{"limit":780,"finished":false}}

    This will always time out unless someone is there to click something on the dashboard to keep the session alive. Is there some way around this? A setting I missed? Does the Pro version run this fully in PHP? We have ~20 GB worth of media files and a 10 GB DB. So I’m guessing this will take a while to run. Pantheon is our host; we have the highest level plan(Elite).

Viewing 1 replies (of 1 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    The session on the WP admin panel keeps timing out due to inactivity and the scan stops.

    The session doesn’t stop as long as the requests go through. I think the problem here is that one request timeouts, and that’s a different issue, unfortunately ??

    And yes, there are many requests, of course, as it’s a very long asynchronous process.

    This will always time out unless someone is there to click something on the dashboard to keep the session alive.

    No, it doesn’t time out. The session is kept alive by the requests, except if they timeout or fail.

    Please check your PHP Error Logs, and I have a little section about this issue here: https://meowapps.com/media-cleaner/debug-issues/#Timeout_Errors. I also have a more general article about it there: https://meowapps.com/fix-timeout-error-wordpress/. I hope it helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Analysis through front-end calls?’ is closed to new replies.