chg: [broods:testConnection] Prematurely close session to allow concurrent requests
parent
d1ff45519b
commit
f1de7fbf49
|
@ -90,6 +90,7 @@ class BroodsController extends AppController
|
||||||
|
|
||||||
public function testConnection($id)
|
public function testConnection($id)
|
||||||
{
|
{
|
||||||
|
$this->request->getSession()->close(); // close session to allow concurrent requests
|
||||||
$status = $this->Broods->queryStatus($id);
|
$status = $this->Broods->queryStatus($id);
|
||||||
return $this->RestResponse->viewData($status, 'json');
|
return $this->RestResponse->viewData($status, 'json');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue