for api.queue close session to NOT block other requests (api.queue should NOT be used for changing something in session)

This commit is contained in:
ralf 2023-07-25 11:37:37 +02:00
parent f35de819a7
commit 7a7c04ccc8

View File

@ -88,6 +88,8 @@ class Request
// do we have a single request or an array of queued requests // do we have a single request or an array of queued requests
if ($menuaction == 'api.queue') if ($menuaction == 'api.queue')
{ {
// close session to NOT block other requests (api.queue should NOT be used for changing something in session)
$GLOBALS['egw']->session->commit_session();
$responses = array(); $responses = array();
$response = Response::get(); $response = Response::get();
foreach($parameters[0] as $uid => $data) foreach($parameters[0] as $uid => $data)