Repository navigation
Painel: modal do worker com as últimas 24 h - #43
Merged
Merged
Conversation
… hashes) O proxy passa a guardar, por worker e por hora, aceitos, recusados, melhor dificuldade e trabalho, mais os 10 melhores hashes das últimas 24 h (/stats/worker?name=). O painel repassa em /api/worker e abre um modal ao clicar na linha do worker: resumo, shares por hora, melhor dificuldade por hora (log), melhores hashes e últimos shares. Claude-Session: https://claude.ai/code/session_01XjfaWQbpm2Tv3YnJgEKrFs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clicar num worker da tabela abre um modal com as últimas 24 h dele pelo proxy:
Proxy:
noteHour()guarda por worker[hora, aceitos, recusados, melhor, trabalho]e o top 10 das 24 h, no arquivo de estatísticas (sobrevive ao reinício). Endpoint novo/stats/worker?name=; o/statsgeral continua enxuto.Painel:
/api/worker?name=repassa. Worker que não passa pelo proxy mostra que não há dados. Não abre no quiosque.Teste novo em
tests/proxy.unit.test.js; conferido no navegador (desktop e celular).npm test: 190 ok.Generated by Claude Code