Closed brendanheywood closed 5 years ago
This is call 100+ times inside a loop:
$history = $this->task_has_history($key);
Each one queries the history table, should do this once and group by task and statically cache it.
code just has been merged. CLosing
This is call 100+ times inside a loop:
$history = $this->task_has_history($key);
Each one queries the history table, should do this once and group by task and statically cache it.