mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 05:47:28 -08:00
Bump up memory for LDAP import of large number of users
This commit is contained in:
parent
e9227f77b6
commit
508e7acb54
|
@ -40,6 +40,8 @@ use Illuminate\Http\Request;
|
|||
*
|
||||
* @version v1.0
|
||||
*/
|
||||
|
||||
|
||||
class UsersController extends Controller
|
||||
{
|
||||
|
||||
|
@ -1132,6 +1134,8 @@ class UsersController extends Controller
|
|||
*/
|
||||
public function postLDAP()
|
||||
{
|
||||
ini_set('max_execution_time', 600); //600 seconds = 10 minutes
|
||||
ini_set('memory_limit', '500M');
|
||||
|
||||
$location_id = e(Input::get('location_id'));
|
||||
|
||||
|
|
Loading…
Reference in a new issue