Do not populate DrupalApcCache::$operations when $conf['apc_show_debug'] has not been set or it is FALSE

Created on 2 August 2024, about 2 months ago
Updated 16 August 2024, about 1 month ago

DrupalApcCache::$operations the list of the operations done on the cache, and it is populated even when $conf['apc_show_debug'] has not been set or it is set to FALSE.
Since the content of DrupalApcCache::$operations is shown only when $conf['apc_show_debug'] is set to TRUE, that should be the only case when DrupalApcCache::$operations gets populated. Otherwise, in a production server, the module would waste memory for no reason. (This is why I consider this a bug.)

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024