chg: [broods:testConnection] Prematurely close session to allow concurrent requests

develop-unstable
Sami Mokaddem 2023-02-13 15:08:57 +01:00
parent d1ff45519b
commit f1de7fbf49
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ class BroodsController extends AppController
public function testConnection($id)
{
$this->request->getSession()->close(); // close session to allow concurrent requests
$status = $this->Broods->queryStatus($id);
return $this->RestResponse->viewData($status, 'json');
}