Flared / dramatiq-abort

Dramatiq extension to abort message
http://flared.github.io/dramatiq-abort
GNU Lesser General Public License v3.0
40 stars 15 forks source link

added example for blocking subprocess #23

Closed aranvir closed 1 year ago

aranvir commented 1 year ago

Follow-up on https://github.com/Flared/dramatiq-abort/issues/22

Brief example for how to deal with a subprocess or any similar blocking call.

aranvir commented 1 year ago

Not sure why 3.7 is not building.. Haven't worked with .rst before and my local make did not work, but since it's only docs I thought it would be fine.

Is there a new-line necessary between ..code-block:: and @dramatiq.actor?

.. code-block::
  @dramatiq.actor
  def my_subprocess():
isra17 commented 1 year ago

Seems like 3.7 have been broken for a little while. Not sure why, but I can stil merge your work and fix the 3.7 anotehr time.

aranvir commented 1 year ago

Quick follow up: Could be that it's really the missing newline that messes with the rendering.. Sorry!

image

isra17 commented 1 year ago

Fixed!

On May 5, 2023, at 11:19, aranvir @.***> wrote:

Quick follow up: Could be that it's really the missing newline that messes with the rendering.. Sorry!

https://user-images.githubusercontent.com/75439739/236499194-211b3f1a-b11e-45c5-9c7b-85bd73e746f5.png — Reply to this email directly, view it on GitHub https://github.com/Flared/dramatiq-abort/pull/23#issuecomment-1536415903, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK25LSETG3H4YT4YZPTS6DXEULBDANCNFSM6AAAAAAXWGFJMU. You are receiving this because you modified the open/close state.