chg: [rest] Close session to allow concurrent requests

pull/7847/head
Jakub Onderka 2021-10-15 15:31:45 +02:00
parent 76ac169810
commit d469883395
1 changed files with 3 additions and 0 deletions

View File

@ -1224,6 +1224,9 @@ class AppController extends Controller
if ($user === false) {
return $exception;
}
session_write_close(); // Rest search can be longer, so close session to allow concurrent requests
if (isset($filters['returnFormat'])) {
$returnFormat = $filters['returnFormat'];
if ($returnFormat === 'download') {