mirror of https://github.com/MISP/MISP
chg: [internal] Raise memory limit for TmptFileTool to 5 MB
parent
ed10d2089e
commit
da6d048c67
|
@ -14,7 +14,7 @@ class TmpFileTool
|
|||
public function __construct($maxInMemory = null)
|
||||
{
|
||||
if ($maxInMemory === null) {
|
||||
$maxInMemory = 2 * 1024 * 1024;
|
||||
$maxInMemory = 5 * 1024 * 1024;
|
||||
}
|
||||
$this->tmpfile = fopen("php://temp/maxmemory:$maxInMemory", "w+");
|
||||
if ($this->tmpfile === false) {
|
||||
|
|
Loading…
Reference in New Issue