From 0990f684da3e8ac8c2b76af19813d005962b1296 Mon Sep 17 00:00:00 2001 From: emmatveev Date: Fri, 12 Sep 2025 21:20:03 +0300 Subject: [PATCH 1/3] Update .deploy/deploy-dev.yaml --- .deploy/deploy-dev.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.deploy/deploy-dev.yaml b/.deploy/deploy-dev.yaml index a76dbb0..ec1e48a 100644 --- a/.deploy/deploy-dev.yaml +++ b/.deploy/deploy-dev.yaml @@ -6,7 +6,7 @@ services: worker: image: mathwave/sprint-repo:ruz-bot environment: - MONGO_HOST: "mongo.develop.sprinthub.ru" + MONGO_HOST: "mongo.dev.chocomarsh.com" STAGE: "development" MONGO_PASSWORD: $MONGO_PASSWORD_DEV networks: @@ -24,7 +24,7 @@ services: fetch: image: mathwave/sprint-repo:ruz-bot environment: - MONGO_HOST: "mongo.develop.sprinthub.ru" + MONGO_HOST: "mongo.dev.chocomarsh.com" STAGE: "development" MONGO_PASSWORD: $MONGO_PASSWORD_DEV PLATFORM_SECURITY_TOKEN: $PLATFORM_SECURITY_TOKEN @@ -42,7 +42,7 @@ services: notify: image: mathwave/sprint-repo:ruz-bot environment: - MONGO_HOST: "mongo.develop.sprinthub.ru" + MONGO_HOST: "mongo.dev.chocomarsh.com" STAGE: "development" MONGO_PASSWORD: $MONGO_PASSWORD_DEV PLATFORM_SECURITY_TOKEN: $PLATFORM_SECURITY_TOKEN @@ -63,7 +63,7 @@ services: - common-infra-nginx-development - queues-development environment: - MONGO_HOST: "mongo.develop.sprinthub.ru" + MONGO_HOST: "mongo.dev.chocomarsh.com" STAGE: "development" MONGO_PASSWORD: $MONGO_PASSWORD_DEV PLATFORM_SECURITY_TOKEN: $PLATFORM_SECURITY_TOKEN From 595dfd0f6d2e8772c678a3baaf8bb8d89dbc7229 Mon Sep 17 00:00:00 2001 From: emmatveev Date: Fri, 12 Sep 2025 21:20:29 +0300 Subject: [PATCH 2/3] Update .deploy/deploy-prod.yaml --- .deploy/deploy-prod.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.deploy/deploy-prod.yaml b/.deploy/deploy-prod.yaml index c83ad38..a8b471d 100644 --- a/.deploy/deploy-prod.yaml +++ b/.deploy/deploy-prod.yaml @@ -6,7 +6,7 @@ services: worker: image: mathwave/sprint-repo:ruz-bot environment: - MONGO_HOST: "mongo.sprinthub.ru" + MONGO_HOST: "mongo.chocomarsh.com" STAGE: "production" MONGO_PASSWORD: $MONGO_PASSWORD_PROD networks: @@ -24,7 +24,7 @@ services: fetch: image: mathwave/sprint-repo:ruz-bot environment: - MONGO_HOST: "mongo.sprinthub.ru" + MONGO_HOST: "mongo.chocomarsh.com" STAGE: "production" MONGO_PASSWORD: $MONGO_PASSWORD_PROD DEBUG: "false" @@ -43,7 +43,7 @@ services: notify: image: mathwave/sprint-repo:ruz-bot environment: - MONGO_HOST: "mongo.sprinthub.ru" + MONGO_HOST: "mongo.chocomarsh.com" STAGE: "production" MONGO_PASSWORD: $MONGO_PASSWORD_PROD DEBUG: "false" @@ -65,7 +65,7 @@ services: - common-infra-nginx - configurator environment: - MONGO_HOST: "mongo.sprinthub.ru" + MONGO_HOST: "mongo.chocomarsh.com" STAGE: "production" MONGO_PASSWORD: $MONGO_PASSWORD_PROD DEBUG: "false" From 5e2c725bc24dced3229cfb4ea882850d334780c9 Mon Sep 17 00:00:00 2001 From: emmatveev Date: Sun, 14 Sep 2025 10:13:29 +0300 Subject: [PATCH 3/3] Update helpers/answer.py --- helpers/answer.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/helpers/answer.py b/helpers/answer.py index e9893f3..abd42d5 100644 --- a/helpers/answer.py +++ b/helpers/answer.py @@ -55,13 +55,6 @@ class Answer: def process(self): user = User(self.user['chat_id']) - try: - bot_enabled_exp = platform.get_experiment('bot_enabled') - if not bot_enabled_exp['enabled'] or not eval(bot_enabled_exp['condition']): - return - except Exception as exc: - logging.info(exc) - return getattr( self, "handle_state_" + self.user['state'],