Skip to content
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

Remove unnecessary sleep from init script restart #17966

Merged
merged 1 commit into from Apr 26, 2016
Merged

Remove unnecessary sleep from init script restart #17966

merged 1 commit into from Apr 26, 2016

Conversation

jasontedor
Copy link
Member

@jasontedor jasontedor commented Apr 26, 2016

Today when restarting Elasticsearch using the start-stop-daemon on
Debian-based systems using System V init, we sleep for one second
between the process successfully stopping and starting the process
again. This sleep is unnecessary as the stop function retries forever
until the previous instance successfully terminates. This commit removes
that unnecessary sleep.

Today when restarting Elasticsearch using the start-stop-daemon on
Debian-based systems using System V init, we sleep for one second
between the process successfully stopping and starting the process
again. This sleep is unnecessary as the stop function retries forever
until the previous instance successfully terminates. This commit removes
that unncessary sleep.
@jasontedor jasontedor added review :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts v5.0.0-alpha2 labels Apr 26, 2016
@nik9000
Copy link
Member

nik9000 commented Apr 26, 2016

LGTM

@jasontedor jasontedor merged commit 8a5032f into elastic:master Apr 26, 2016
@jasontedor jasontedor removed the review label Apr 26, 2016
@jasontedor jasontedor deleted the restart-sleep branch April 26, 2016 02:50
@jasontedor
Copy link
Member Author

Thanks @nik9000.

@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >enhancement Team:Delivery Meta label for Delivery team v5.0.0-alpha2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants