-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control node 'restart' vs full deploy ? #391
Comments
@bonjour81 The control node was implemented due to these problems. You can detect of the polling loop runs or if it stalled using this node. Restart should stop and destroy the underlying instance and then it should create a new one. A restart of the control node can not recreate the config node from scratch (that can only be done by node red) but it does similar things with the telegram polling loop: it just kills it and recreates it. --> you can try to restart your bot every few hours with the control node if you discover problems. However the bots I run here are completely stable and for that reason it would be helpful to find out what is wrong with your setup (maybe instable internet connection ...?) |
Hi !
Considering I often forget, and that stall happen some hours after my work in flows, I was thinking that this restart function may do the job for me :) What's the best way to detect is telegrambot is stalled ? Maybe this "msg.payload.isOnline" from control node ? |
@bonjour81 I will adapt the control node so that an output is triggered as soon as the bot is offline |
That would be cool! |
Hello,
Not really an issue, but a need for clarification (I was not sure where to post this).
1/ I have well noticed that 'full deploy' is recommended and I had trouble already when I did not (bot does not answer anymore to my commands, sometimes only after a few hours).
But I though that if I don't touch any telegram node, a more simple deploy may be good enough.
Does this make sense or is it recommended to full deploy whatever I did in my flows, even if modifications does not touch any telegram node ?
2/ What is the purpose of control node 'restart' command ?
Does it cleanly re-init telegram node same as full deploy ?
if so, a simple inject node to restart telegrambot at each deploy would do the job. what do you think ?
The text was updated successfully, but these errors were encountered: