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

Melhorias diversas #1

Merged
merged 19 commits into from
Sep 12, 2024
Merged

Melhorias diversas #1

merged 19 commits into from
Sep 12, 2024

Conversation

SrBedrock
Copy link
Member

No description provided.

Separação de Lógica de Log: Criei um método logEvictionSuccess separado para melhorar a legibilidade e a reutilização.

Remoção Segura de Votos: Em vez de adicionar os votos novamente em caso de falha, manipulamos a remoção de votos de forma segura e lógica. Caso o envio falhe, apenas não removemos os votos de cachedVotes permanentemente.

Controle de Fluxo Claro: A lógica para verificar se todos os votos foram processados ou se ainda restam votos para serem encaminhados está mais clara.
Class 'VoteWithRecordedTimestamp' is exposed outside its defined visibility scope
@SrBedrock SrBedrock merged commit 2fb9a1a into master Sep 12, 2024
1 check passed
@SrBedrock SrBedrock deleted the dev/update branch September 12, 2024 05:47
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.

1 participant