Option for automatic graceful shutdown
See original GitHub issueWould it be possible to publicly expose the self._invocations
dictionary (https://github.com/crossbario/autobahn-python/blob/2e94d12c176eb34e74c788ceb4ada0b7bef916f6/autobahn/wamp/protocol.py#L356) in the WAMP protocol? For background, we want to be able to wait on all pending incoming requests to complete when we are shutting down a WAMP session. Alternatively, if there is a way to guarantee that the incoming requests are completed before disconnecting, that would work too.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Solved: Automatic graceful shutdown on multiple servers
I'm trying to get automatic graceful shutdown set up for the servers connected to my Smart-UPS using PowerChute. As far as I can...
Read more >Use Your UPS to Gracefully Shut Down Your PC During ...
Here's how your APC UPS can shut down your PC gracefully. ... Launch PowerChute and you can begin configuring your power backup options....
Read more >Integrated Dell Remote Access Controller 8 (iDRAC8) Version ...
To perform graceful shutdown, in iDRAC Web interface, go to one of the ... From the Power Control drop-down menu, select Graceful Shutdown...
Read more >Graceful shutdown of services | Citrix ADC 13.1
No graceful shutdown. Service is shut down immediately after the disable option is chosen or the disable command is issued. (The default wait ......
Read more >bios - UPS graceful shutdown - how to automatically restart ...
If I disable the graceful shutdown then there is a setting I can set in the server's BIOS so that it restarts automatically...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@oberstet wouldn’t we want to do 2 before 1?
Here is a possible design I think would cover the use case.
Add a new option to
leave
:If
graceful_leave>0
, then:graceful_leave
seconds for any outstanding calls, invocations and acknowledged publications to finishwamp.message.Goodbye
If
graceful_leave==0
, then sendwamp.message.Goodbye
immediately