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

Sleep mode #93

Merged
merged 11 commits into from
Jul 25, 2017
Merged

Sleep mode #93

merged 11 commits into from
Jul 25, 2017

Conversation

dtrenkenshu
Copy link
Contributor

@dtrenkenshu dtrenkenshu commented Jul 25, 2017

Додано сплячий режим: якщо неможливо під'єднатись до proxy, documentservice або openprocurement.api, то весь бот припиняє роботу. У такій ситуації бот робить запити перевірки стану сервісів кожні delay секунд (за замовчуванням 15); якщо всі сервіси доступні, то бот продовжує роботу.

#51

dtrenkenshu and others added 9 commits June 7, 2017 14:57
Added a working sleep mode via service_not_available event
# Conflicts:
#	openprocurement/bot/identification/databridge/bridge.py
#	openprocurement/bot/identification/databridge/filter_tender.py
#	openprocurement/bot/identification/databridge/upload_file.py
#	openprocurement/bot/identification/tests/edr_handler.py
#	openprocurement/bot/identification/tests/filter_tender.py
#	openprocurement/bot/identification/tests/upload_file.py
# Conflicts:
#	openprocurement/bot/identification/databridge/bridge.py
#	openprocurement/bot/identification/databridge/edr_handler.py
#	openprocurement/bot/identification/tests/bridge.py
#	openprocurement/bot/identification/tests/edr_handler.py
#	openprocurement/bot/identification/tests/filter_tender.py
#	openprocurement/bot/identification/tests/upload_file.py
@coveralls
Copy link

Coverage Status

Coverage increased (+1.2%) to 94.37% when pulling 7c68962 on ITVaan:sleep_mode into 32975ef on openprocurement:master.

dtrenkenshu and others added 2 commits July 25, 2017 16:00
@coveralls
Copy link

Coverage Status

Coverage increased (+1.5%) to 94.621% when pulling 0b7acc6 on ITVaan:sleep_mode into 32975ef on openprocurement:master.

@kroman0 kroman0 added this to the 2.x milestone Jul 25, 2017
@kroman0 kroman0 merged commit f1688c8 into openprocurement:master Jul 25, 2017
@dtrenkenshu dtrenkenshu deleted the sleep_mode branch August 8, 2017 07:58
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.

None yet

3 participants