diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-05-13 22:31:30 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-05-13 22:32:42 -0400 |
commit | dfb0527017572f6d7f137df1b0a18d858cad2966 (patch) | |
tree | b9960a858a474b25051648cc7ca2bc672af53f10 /lib | |
parent | ecf095fc0621f369ffcae54a168b43bccf942c2d (diff) | |
download | ampache-dfb0527017572f6d7f137df1b0a18d858cad2966.tar.gz ampache-dfb0527017572f6d7f137df1b0a18d858cad2966.tar.bz2 ampache-dfb0527017572f6d7f137df1b0a18d858cad2966.zip |
Increase the default memory limit to 32
This matches what the config files claims is the default.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/init.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/init.php b/lib/init.php index dd9636a0..eddc306f 100644 --- a/lib/init.php +++ b/lib/init.php @@ -121,8 +121,8 @@ if (substr($post_size,strlen($post_size)-1,strlen($post_size)) != 'M') { // In case the local setting is 0 ini_set('session.gc_probability','5'); -if (! isset($results['memory_limit']) || $results['memory_limit'] < 24) { - $results['memory_limit'] = 24; +if (!isset($results['memory_limit']) || $results['memory_limit'] < 32) { + $results['memory_limit'] = 32; } set_memory_limit($results['memory_limit']); |