Stopping yield generator gracefully #1736
Unanswered
ArmanTheParman
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I just attach to tmux / screen where it is running and press Ctrl+C. But normal |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ah, thanks. I was doing kill -9, maybe that's why the lock file persisted
(duh). Will experiment. I just wondered if there was an rpc call or
something.
(I'm working on building it inside docker as part of Parmanode, so I won't
need tmux.)
…On Wed, 23 Oct 2024, 7:31 am Kristaps Kaupe, ***@***.***> wrote:
I just attach to tmux / screen where it is running and press Ctrl+C. But
normal kill also should stop it gracefully, unless you do kill -9.
—
Reply to this email directly, view it on GitHub
<#1736 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASQCCXYDQWQEUFNF4EFN42TZ42Y3DAVCNFSM6AAAAABQM3BX62VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBSGE3TENA>
.
You are receiving this because you authored the thread.Message ID:
<JoinMarket-Org/joinmarket-clientserver/repo-discussions/1736/comments/11021724
@github.com>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
G'day g'day
Apart from killing the python process, how is one to gracefully stop the yield generator? With the kill method, it always leads to a lock file. I can handle that if I have to to clean up the lock file in my script, but I was wondering if there a standard way to stop it?
Beta Was this translation helpful? Give feedback.
All reactions