It seems that the static cache is ignored when there are no new messages and the quite complex query is executed multiple times.

I need to confirm and if necessary, fix this...

Comments

Berdir’s picture

Status: Active » Closed (duplicate)

Ok, it looks like this only happens with the new query from #555016-41: Planning for sending messages to roles. since that does return NULL, so we need to fix it there.

Closing this.