mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #50387 from rallytime/bp-50339
Back-port #50339 to 2018.3
This commit is contained in:
commit
493d6538bc
1 changed files with 2 additions and 1 deletions
|
@ -93,6 +93,7 @@ def _gather_buffer_space():
|
|||
# Return the higher number between 5% of the system memory and 10MiB
|
||||
return max([total_mem * 0.05, 10 << 20])
|
||||
|
||||
|
||||
# For the time being this will be a fixed calculation
|
||||
# TODO: Allow user configuration
|
||||
_DFLT_IPC_WBUFFER = _gather_buffer_space() * .5
|
||||
|
@ -3488,7 +3489,7 @@ def check_driver_dependencies(driver, dependencies):
|
|||
if value is False:
|
||||
log.warning(
|
||||
"Missing dependency: '%s'. The %s driver requires "
|
||||
"'%s' to be installed.", key, key, driver
|
||||
"'%s' to be installed.", key, driver, key
|
||||
)
|
||||
ret = False
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue