Merged in marcoAntonioNina/processmaker (pull request #1087)
Improvement restore kill process windows
This commit is contained in:
@@ -621,6 +621,7 @@ class workspaceTools
|
||||
// end of reset
|
||||
|
||||
//close connection
|
||||
if (substr(PHP_OS, 0, 3) != 'WIN') {
|
||||
$connection = Propel::getConnection( 'workflow' );
|
||||
|
||||
$sql_sleep = "SELECT * FROM information_schema.processlist WHERE command = 'Sleep' and user = SUBSTRING_INDEX(USER(),'@',1) and db = DATABASE() ORDER BY id;";
|
||||
@@ -643,6 +644,7 @@ class workspaceTools
|
||||
$oStatement_query->executeQuery();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* fix the 32K issue, by migrating /files directory structure to an uid tree structure based.
|
||||
|
||||
Reference in New Issue
Block a user