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

Refatora task de agregação de diários #81

Merged
merged 6 commits into from
Aug 23, 2024
Merged

Conversation

ogecece
Copy link
Member

@ogecece ogecece commented Aug 23, 2024

  • Move interfaces para seus respectivos recursos
  • Remove imports não usados
  • Adiciona tasks.run_task
  • Modifica ordem de comandos no Dockerfile
  • Muda versão do Python para 3.9 no Dockerfile
  • Otimiza uso de memória na task create_aggregates

Para evitar imports desnecessários em tasks que não utilizam
determinados recursos. Por exemplo, o import de
`sentence_transformers` custa 150MB+ para a task
`create_aggregates`, que não o usava.
Para facilitar o rebuild com arquivos modificados sem precisar
realizar o import dos modelos novamente.
Para permitir o uso de `xml.ElementTree.indent` e otimizar o uso de
memória na task `create_aggregates`.
@ogecece ogecece merged commit 915a3b9 into main Aug 23, 2024
1 check failed
@ogecece ogecece deleted the refactor-aggregates branch August 23, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant