Skip to content

Commit

Permalink
MDL-40627 add 2G extramemorylimit option to admin UI and use the same…
Browse files Browse the repository at this point in the history
… units in config-dist.php to prevent confusion

Credit goes to Julien Boulen, thanks for spotting this.
  • Loading branch information
skodak committed Jul 20, 2013
1 parent ffc3f53 commit 0a08cb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion admin/settings/server.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@
'128M' => '128M',
'256M' => '256M',
'512M' => '512M',
'1024M' => '1024M'
'1024M' => '1024M',
'2048M' => '2048M',
)));
$temp->add(new admin_setting_configtext('curlcache', new lang_string('curlcache', 'admin'),
new lang_string('configcurlcache', 'admin'), 120, PARAM_INT));
Expand Down
2 changes: 1 addition & 1 deletion config-dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
// memory limit to something higher.
// The value for the settings should be a valid PHP memory value. e.g. 512M, 1G
//
// $CFG->extramemorylimit = '1G';
// $CFG->extramemorylimit = '1024M';
//
// Moodle 2.4 introduced a new cache API.
// The cache API stores a configuration file within the Moodle data directory and
Expand Down

0 comments on commit 0a08cb4

Please sign in to comment.