Commit 1903e7e0e75747bfe76a40266513fc395b73427b

Authored by Benjamin Renard
1 parent 1d67748e

Do not apply nb processes limitation by user name if a request is coming from WS (#7504)

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/Request/ProcessRequestImpl/ProcessRequestClass.php
... ... @@ -107,7 +107,7 @@ class ProcessRequestClass extends RequestAbstractClass
107 107 */
108 108 private function serverReady($processMgr, $user)
109 109 {
110   - if (!empty($user)) {
  110 + if (!empty($user) && !$this->requestData->getFromWS()) {
111 111 // Check nb running processes for the current user
112 112 $result = $processMgr->getNbRunningProcesses($user);
113 113 if (!$result['success']) {
... ...