View Issue Details

IDProjectCategoryView StatusLast Update
16687Bug reportsOtherpublic2020-09-23 12:12
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version3.23.5 
Summary16687: App()->config can be really big
Description

I check config on a single local system, config array is really big and contain a lot of lastquestion or lastsurvey

Steps To Reproduce

Update code
Set https://github.com/SondagesPro/LimeSurvey-SondagesPro/blob/bf34293e9538dba87e4ba9e7968190245c5714ed/application/core/LSYii_Application.php#L26 as public
Put a tracevar(App()->config) somewhere
Set debug at 2
Check

Additional Information

On a single installation : have 192 last_ …

Some instance have more than 100 admin user : near 20 000 value in memory …

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.23.5
I will donate to the project if issue is resolvedNo
Sync to Zoho Project
Browsernot relevant
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Activities

DenisChenu

DenisChenu

2020-09-22 19:23

developer   ~59931

@ollehar : why you didn't put all of this values in lime_settings_user ? And asked only when needed , here its always loaded …

ollehar

ollehar

2020-09-23 11:42

administrator   ~59938

@ollehar : why you didn't put all of this values in lime_settings_user ? And asked only when needed , here its always loaded …

No idea. What is the commit?

DenisChenu

DenisChenu

2020-09-23 11:49

developer   ~59940

Really old …
Sorry, not you …

https://github.com/LimeSurvey/LimeSurvey/commit/b46b80b20fb123c9d1bc2e0f34232dedc432e544

And i already done remark. On my test system : seem to gain some precious ms after delete all in DB.

ollehar

ollehar

2020-09-23 12:12

administrator   ~59941

Alright.

Issue History

Date Modified Username Field Change
2020-09-22 19:22 DenisChenu New Issue
2020-09-22 19:23 DenisChenu Note Added: 59931
2020-09-23 11:42 ollehar Product Version => 3.23.5
2020-09-23 11:42 ollehar Note Added: 59938
2020-09-23 11:49 DenisChenu Note Added: 59940
2020-09-23 12:12 ollehar Note Added: 59941