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

Add some progress indicators to the account deletions rake task #7646

Closed

Conversation

SuperTux88
Copy link
Member

@Flaburgan asked if the rake task is stuck, because it doesn't output anything until it's finished (which can take a while when there are multiple accounts or big accounts needed to be deleted). So I thought it's maybe a good idea to print some stuff.

@SuperTux88 SuperTux88 added this to the 0.7.1.0 milestone Oct 18, 2017
@Flaburgan
Copy link
Member

Thanks! Can you please also add an indication in the changelog that it can take a while, and maybe should be run in tmux?

@SuperTux88
Copy link
Member Author

It doesn't need to be run in tmux, when it stops or is canceled (Ctrl-C) it just continues where it's stopped after restart. The account deletion is only marked as completed when it's completed.

puts "OK."
else
puts "No acccount deletions to run."
puts "No account deletions to run."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But... the hidden phun...!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copy pasted that from an older rake task ... and while adding the progress indicators the spell-checker of my IDE told me that there is something wrong here ;)

@SuperTux88
Copy link
Member Author

Merged as c9423bf

Thanks @denschub for the review 🍪

@Flaburgan what I wanted to say was, that you don't need tmux, but if you have an unstable connection you maybe use tmux for the upgrade anyway and then you can continue using tmux. But if something happens you can just restart it and it continues where it's stopped, so nothing bad happens :)

@SuperTux88 SuperTux88 deleted the account-deletion-progress branch October 19, 2017 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants