Skip to content

Conversation

@Scandie
Copy link

@Scandie Scandie commented Mar 2, 2018

This change is Reviewable

Copy link
Collaborator

@yarsanich yarsanich left a comment

Choose a reason for hiding this comment

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

А де тести на init_services та check_auction_workers?

logging.addLevelName(25, 'CHECK')


def check(self, msg, exc=None, *args, **kwargs):
Copy link
Collaborator

Choose a reason for hiding this comment

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

А docstring?

Copy link
Author

Choose a reason for hiding this comment

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

@yarsanich, додав.

worker_exceptions = check_auction_workers(self.config['main'])
if worker_exceptions:
exceptions.extend(worker_exceptions)
if exceptions:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Тобто з всих ти полюбому будеш raise робити першого ? І Ерори , якщо вони будуть, то вони будуть в порядку CouchDB, Scheduler, WebApp?

Copy link
Author

Choose a reason for hiding this comment

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

@yarsanich, так, в тому порядку ініціалізації, який був до цього.

AuctionsChronograph(config).run()
chronograph = AuctionsChronograph(config)
if params.check:
exit()
Copy link
Collaborator

Choose a reason for hiding this comment

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

sys.exit()?

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