Skip to content

Commit

Permalink
[core] Increase default shared memory to 2048 MiB
Browse files Browse the repository at this point in the history
This should still be reasonable for most machines people are going to run games on,
and means no manual increases are required for every game it has been previously
needed for.
  • Loading branch information
derrod committed Dec 18, 2020
1 parent 254c22e commit 104b928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legendary/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ def prepare_download(self, game: Game, base_game: Game = None, base_path: str =
self.log.debug(f'Using base URL: {base_url}')

if not max_shm:
max_shm = self.lgd.config.getint('Legendary', 'max_memory', fallback=1024)
max_shm = self.lgd.config.getint('Legendary', 'max_memory', fallback=2048)

if dl_optimizations or is_opt_enabled(game.app_name, new_manifest.meta.build_version):
self.log.info('Download order optimizations are enabled.')
Expand Down

0 comments on commit 104b928

Please sign in to comment.