Skip to content

Conversation

@zverevgeny
Copy link
Collaborator

No description provided.

@zverevgeny zverevgeny requested review from Darych and resetius January 15, 2024 15:54
@zverevgeny
Copy link
Collaborator Author

pr over contrib: https://a.yandex-team.ru/review/5162297/details

@github-actions
Copy link

github-actions bot commented Jan 15, 2024

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 6666344.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59895 50672 0 1 9206 16

🔴 linux-x86_64-release-asan: some tests FAILED for commit 6666344.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15877 15749 0 22 96 10

switch(condition) {
case ESendStats::IfPossible:
if (dT < RuntimeSettings.ReportStatsSettings->MinInterval) {
return;
Copy link
Contributor

Choose a reason for hiding this comment

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

Дело вкуса конечно. Я бы вместо return дернул функцию, которая непосредственно делает отсылку статистики (тот кусок кода что ниже). Тогда бы условия внутри switch читались проще имхо.

@zverevgeny zverevgeny merged commit 477e168 into ydb-platform:main Jan 22, 2024
@niksaveliev niksaveliev mentioned this pull request Jan 29, 2024
@vitstn vitstn mentioned this pull request Jan 29, 2024
@starlinskiy starlinskiy mentioned this pull request Feb 12, 2024
@vitstn vitstn mentioned this pull request Feb 16, 2024
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.

2 participants