mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-02 17:29:20 +02:00
Set memory limit to 4G in functions.php and restreamer.json.php
This commit is contained in:
parent
35fbccc1d2
commit
4e452049bc
2 changed files with 3 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
$global_timeLimit = 300;
|
||||
|
||||
ini_set("memory_limit", -1);
|
||||
|
||||
ini_set('default_socket_timeout', $global_timeLimit);
|
||||
set_time_limit($global_timeLimit);
|
||||
ini_set('max_execution_time', $global_timeLimit);
|
||||
ini_set("memory_limit", "-1");
|
||||
ini_set("memory_limit", "4G");
|
||||
|
||||
function _decryptString($string)
|
||||
{
|
||||
|
|
|
@ -44,11 +44,10 @@ if (!file_exists($ffmpegBinary)) {
|
|||
|
||||
$global_timeLimit = 300;
|
||||
|
||||
ini_set("memory_limit", -1);
|
||||
ini_set("memory_limit", "4G");
|
||||
ini_set('default_socket_timeout', $global_timeLimit);
|
||||
set_time_limit($global_timeLimit);
|
||||
ini_set('max_execution_time', $global_timeLimit);
|
||||
ini_set("memory_limit", "-1");
|
||||
|
||||
$logFileLocation = rtrim($logFileLocation, "/") . '/';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue