Removed request queue enablement flag (#20466)
refs [CFR-26](https://linear.app/tryghost/issue/CFR-26/remove-request-queue-config-flag) Removed request queue enablement flag and updated the logic so that the request queue is enabled when there is explicit configuration for it.
This commit is contained in:
parent
aa0110c842
commit
ecf52d4685
@ -29,7 +29,7 @@ module.exports = function setupParentApp() {
|
||||
// Enable request queuing if configured
|
||||
const queueConfig = config.get('optimization:requestQueue');
|
||||
|
||||
if (queueConfig?.enabled === true) {
|
||||
if (queueConfig) {
|
||||
parentApp.use(mw.queueRequest(queueConfig));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user