Test closing the session to prevent asnyc blocking to see if it impacts load performance
This commit is contained in:
parent
f5b4928538
commit
e9a966a8a4
|
@ -138,6 +138,8 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
|
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
|
||||||
|
// For now, close the session here to prevent it from blocking requests
|
||||||
|
session_write_close();
|
||||||
$this->setRoleName($userInfo->type);
|
$this->setRoleName($userInfo->type);
|
||||||
|
|
||||||
Zend_View_Helper_Navigation_HelperAbstract::setDefaultAcl($this->_acl);
|
Zend_View_Helper_Navigation_HelperAbstract::setDefaultAcl($this->_acl);
|
||||||
|
|
Loading…
Reference in New Issue