Skip to content

Commit

Permalink
Add changelog entry for changes in
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed Oct 29, 2019
1 parent 1df66b6 commit fa52620
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/source/upgrade_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@
Upgrade Notes
=============

.. _ref-upgrade-notes-v3-2:

|st2| v3.2
----------

* We have switched from unbuffered to fully buffered output for Python runner actions. This should
result in better performance and smaller CPU utilization for actions which produce a lot of
output.

If you experience issues with some Python runner actions hanging our the real time action output
is slower / less real-time than before, you can set ``actionrunner.stream_output_buffer_size``
config option to ``-1`` and restart st2actionrunner processes (``sudo st2ctl restart-service
st2actionrunner``).

This will switch back to the unbuffered output.

This config directly controls ``bufsize`` argument which is passed to
``st2common.util.green.shell.run_command()`` function so you can also
experiment with other values which are supported by Python
``subprocess.Popen`` (https://docs.python.org/2/library/subprocess.html#popen-constructor)
function.

.. _ref-upgrade-notes-v3-0:

|st2| v3.0
Expand Down

0 comments on commit fa52620

Please sign in to comment.