mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
xmlrpc, webgui, prevent that a xmlrpc.lock is placed that is never unlocked, thus hanging php and the webgui after a few more sync request are trying to acquire the lock and all are waiting..
This commit is contained in:
parent
2448d0fc1f
commit
8239af2dc1
@ -536,6 +536,10 @@ class pfsense_xmlrpc_server {
|
||||
}
|
||||
}
|
||||
|
||||
// run script untill its done and can 'unlock' the xmlrpc.lock, this prevents hanging php-fpm / webgui
|
||||
ignore_user_abort(true);
|
||||
set_time_limit(0);
|
||||
|
||||
$xmlrpclockkey = lock('xmlrpc', LOCK_EX);
|
||||
|
||||
XML_RPC2_Backend::setBackend('php');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user