Dial down default buffer and apply to just write buffer

This commit is contained in:
Mike Place 2016-07-14 15:28:43 -06:00
parent 3e3e2a997e
commit c4395ae84e
2 changed files with 2 additions and 2 deletions

View file

@ -83,7 +83,7 @@ def _gather_buffer_space():
grains = salt.grains.core._memdata(os_data)
total_mem = grains['mem_total']
# Return the higher number between 5% of the system memory and 100MB
return min([total_mem * 0.05, 100 << 20])
return min([total_mem * 0.05, 10 << 20])
# For the time being this will be a fixed calculation
# TODO: Allow user configuration

View file

@ -512,7 +512,7 @@ class IPCMessagePublisher(object):
stream = IOStream(
connection,
io_loop=self.io_loop,
max_buffer_size = self.opts['ipc_write_buffer']
max_write_buffer_size = self.opts['ipc_write_buffer']
)
self.streams.add(stream)
except Exception as exc: