agallou / mageia-app-db

GNU Affero General Public License v3.0
6 stars 3 forks source link

package/comparison action can take more than 30s and be killed by php #143

Open agallou opened 10 years ago

agallou commented 10 years ago

Author Name: Samuel Verschelde (@stormi) Original Redmine Issue: 246, http://mageia-app-db.tuxette.fr/issues/246 Original Date: 2012/04/26


Fatal error: Maximum execution time of 30 seconds exceeded

agallou commented 10 years ago

Original Redmine Comment Author Name: Samuel Verschelde (@stormi) Original Date: 2012/05/11 16:06:45 +0200


Here is what logs say:

Action "package/comparison" 16549.45 ms View "Success" for "package/comparison" 26607.35 ms

So there's a need to optimize both the queries in the action, and the way that we display things.

Note also that getting the information for http://check.mageia.org/cauldron/updates.html and parsing it takes more than 1 second.

agallou commented 10 years ago

Original Redmine Comment Author Name: Samuel Verschelde (@stormi) Original Date: 2012/05/11 16:12:57 +0200


ok for the view the culprit is either madbUrl or link_to (probably madbUrl)

agallou commented 10 years ago

Original Redmine Comment Author Name: Samuel Verschelde (@stormi) Original Date: 2012/05/11 16:18:38 +0200


it IS madbUrl, probably due to changes I made to it. Fixed for this page, but we have to work on it, I'll create a new issue.