]> BookStack Code Mirror - bookstack/commit
Changed the way settings are loaded 4062/head
authorDan Brown <redacted>
Thu, 23 Feb 2023 22:14:47 +0000 (22:14 +0000)
committerDan Brown <redacted>
Thu, 23 Feb 2023 22:14:47 +0000 (22:14 +0000)
commit8bebea4ccadbf3ff40fd836a1017cbc2ae474eca
tree023c974b3cab35630b40b8b347bcccb7966f9c92
parent6545afacd69bbb1d13e4e4c97da84004789a99e8
Changed the way settings are loaded

This new method batch-loads them from the database, and removes the
cache-layer with the intention that a couple of batch fetches from the
DB is more efficient than hitting the cache each time.
app/Settings/SettingService.php
tests/Commands/UpdateUrlCommandTest.php