1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

nixos/slurm: add recommended mysql settings

This commit is contained in:
Markus Kowalewski 2018-11-22 13:21:37 +01:00
parent 25af518845
commit 0ed4fc606a
No known key found for this signature in database
GPG key ID: 502A248E3FB4FF48

View file

@ -63,6 +63,12 @@ in {
ensurePermissions = { "slurm_acct_db.*" = "ALL PRIVILEGES"; };
name = "slurm";
}];
extraOptions = ''
# 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
'';
};
};