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

HH-235648 use asyncio.queue to channel request chunks from tornado connection to asgi app #747

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

a-pertsev
Copy link
Contributor

No description provided.

@a-pertsev a-pertsev requested a review from a team as a code owner October 26, 2024 15:25
@@ -186,6 +228,13 @@ def get_frontik_and_apps_versions(self) -> etree.Element:
def get_kafka_producer(self, producer_name: str) -> Optional[AIOKafkaProducer]: # pragma: no cover
pass

def start_request(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

как вариант - можно передавать в httpserver не фронтик-приложение, а объект-хендлер, в котором будет доступ к инстансу приложения
но я подумал сильной разницы нет - всве равно сейчас много где кишки торнады торчат

@@ -12,7 +12,7 @@
from frontik.testing import FrontikTestBase


class TestKafkaProducer:
class KafkaProducerMock:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

иначе тесты ворнинги пишут

@hh-sonar-app
Copy link

hh-sonar-app bot commented Oct 30, 2024

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@hhrelease hhrelease merged commit a4a0703 into master Oct 30, 2024
1 of 2 checks passed
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