mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Dial down default buffer and apply to just write buffer
This commit is contained in:
parent
3e3e2a997e
commit
c4395ae84e
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue