File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 143143 ],
144144 "update:baselines" : [
145145 " @php phpstan analyse --generate-baseline" ,
146- " @php psalm --set-baseline=psalm-baseline.xml"
146+ " @php psalm --no-cache --threads=max -- set-baseline=psalm-baseline.xml"
147147 ],
148148 "twig-lint" : " @php bin/console lint:twig --ansi --show-deprecations"
149149 },
Original file line number Diff line number Diff line change @@ -1138,7 +1138,7 @@ protected function saveUiPrefsToDb(UiPreferencesFeature $uiPreferencesFeature):
11381138 // Remove some old rows in table_uiprefs if it exceeds the configured
11391139 // maximum rows
11401140 $ sqlQuery = 'SELECT COUNT(*) FROM ' . $ table ;
1141- $ rowsCount = (int ) $ this ->dbi ->fetchValue ($ sqlQuery );
1141+ $ rowsCount = (int ) $ this ->dbi ->fetchValue ($ sqlQuery, 0 , ConnectionType::ControlUser );
11421142 $ maxRows = $ config ->selectedServer ['MaxTableUiprefs ' ];
11431143 if ($ rowsCount > $ maxRows ) {
11441144 $ numRowsToDelete = $ rowsCount - $ maxRows ;
You can’t perform that action at this time.
0 commit comments