[#272] Support for external stop/restart control on the application #273
No reviewers
Labels
No labels
architecture
authentication
backend
bug
ci/cd
cleanup
documentation
duplicate
enhancement
good first issue
help wanted
in progress
invalid
media
mobile
new feature
notes
packaging
question
ui
upstream breaking change
voice
waiting user input
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
platypush/platypush!273
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "272/external-proc-controller"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds the
application.stopandapplication.restartactions.It also greatly improves the stability of the stop mechanism, preventing many race conditions on application stop that could result in zombie processes.
s/Application.stop_app/Application.stop/g1819ee75efplatypush.climodule. 97adc3f775commandsmodule. efef9d7bc0ControllableProcessclass. b1f244a812StopCommandandRestartCommand. c89f992867CommandStreamclass. 06111587f7CommandStreamto the mainApplication. 8819a0ed4cKeyboardInterruptand process return code in the main. c11bc69a66get_default_pid_fileutility method. dc1a152433Backend._get_redis()method. ceb9d6d1bawait_stopmethod to the entities engine and cron scheduler. 04921c759fHttpBackend._stop_workers. a8a7ceb2acBackend.wait_stop. 46245e851fapplicationplugin.WIP: [#272] Support for external stop/restart control on the applicationto [#272] Support for external stop/restart control on the application