Conditionally add `woltlab-background-queue-check: yes` to the response
authorAlexander Ebert <ebert@woltlab.com>
Mon, 14 Nov 2022 15:06:56 +0000 (16:06 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 14 Nov 2022 15:06:56 +0000 (16:06 +0100)
commit4051e45663f0aaa1ccbfd788aa67d70f6ca15bd8
tree538a2d50141b177b1416c52b247f2ffb9bb67879
parent24b0319fbfa6f1eb166895758f7bbdfd37648450
Conditionally add `woltlab-background-queue-check: yes` to the response

This header is intended to signal the client that an async check for pending jobs in the background queue should be dispatched.
wcfsetup/install/files/lib/http/middleware/TriggerBackgroundQueue.class.php [new file with mode: 0644]
wcfsetup/install/files/lib/system/background/BackgroundQueueHandler.class.php
wcfsetup/install/files/lib/system/request/RequestHandler.class.php