diff options
author | Markus Kowalewski <markus.kowalewski@fysik.su.se> | 2021-01-21 17:45:15 +0100 |
---|---|---|
committer | Markus Kowalewski <markus.kowalewski@fysik.su.se> | 2021-01-21 17:51:28 +0100 |
commit | dcae37989f91edc9a5d6cd5c6131f94645ae18dd (patch) | |
tree | c03e91a8728af97139f296f0ecc815fda1d708b3 /nixos/tests | |
parent | c87fc050c101ed8b797316b0a872940bf341a30b (diff) |
tests/slurm: update mysql config to use settings
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/slurm.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/tests/slurm.nix b/nixos/tests/slurm.nix index 97e031a627931..3702d243b486b 100644 --- a/nixos/tests/slurm.nix +++ b/nixos/tests/slurm.nix @@ -109,12 +109,12 @@ in { ensurePermissions = { "slurm_acct_db.*" = "ALL PRIVILEGES"; }; name = "slurm"; }]; - extraOptions = '' + settings.mysqld = { # recommendations from: https://slurm.schedmd.com/accounting.html#mysql-configuration - innodb_buffer_pool_size=1024M - innodb_log_file_size=64M - innodb_lock_wait_timeout=900 - ''; + innodb_buffer_pool_size="1024M"; + innodb_log_file_size="64M"; + innodb_lock_wait_timeout=900; + }; }; }; |