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

Need Ctrl+C for 3 times to stop program #2

Open
junaruga opened this issue Apr 27, 2017 · 0 comments
Open

Need Ctrl+C for 3 times to stop program #2

junaruga opened this issue Apr 27, 2017 · 0 comments
Labels

Comments

@junaruga
Copy link
Member

When users want to stop the rpmlb by Ctrl+C, Need to enter Ctrl+C to stop it.
The reason is maybe for the retrying logic with max: 3.
Maybe the program is handling the SIGINT internally, and retrying right now.

Change stopping the program with 1 time Ctrl+C.

rpmlb/builder/base.py

    @retrying.retry(stop_max_attempt_number=3)
    def build_with_retrying(self, package_dict, **kwargs):
        self.build(package_dict, **kwargs)
@junaruga junaruga added the bug label Apr 27, 2017
@junaruga junaruga self-assigned this Apr 27, 2017
@junaruga junaruga removed their assignment May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant