function cron_check_for_updates takes too long to run
Bug #1884346 reported by
Cecilia Vela Gurovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Cecilia Vela Gurovic |
Bug Description
It's unlikely that the mahara.org mahara version will change very often, and we are calling the function cron_check_
Everytime this function is called when using the site (not by cron job), it executes a mahara_http_request that will take a bit more than 2 seconds, making the mahara instance work slower than it should.
If this data doesn't change that often we can save this value in the $SESSION variable so the mahara_http_request is not being called all the time.
Changed in mahara: | |
milestone: | none → 20.10.0 |
assignee: | nobody → Cecilia Vela Gurovic (ceciliavg) |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/11029