Skip to content

Conversation

@ForNeVeR
Copy link
Member

@ForNeVeR ForNeVeR commented Aug 7, 2022

Closes #102. I've decided we need no statistics aside from logs.

TODO:

  • implement the file cache
  • cache cleanup: ensure there's a sanity check (to not accidentally clean up an unrelated directory)
  • squash WIP commits
  • don't forget file cache tests!
  • make sure Emulsion works in the old way (t.me proxies) with the file cache disabled
  • tests for all the branches in the FileCache
  • tests for all the branches in the ContentController
  • make all the tests green
  • make sure there are no TODO remaining
  • content types
  • file names for download
  • manual testing
  • CI: investigate the test failures on Windows
  • deployment instructions, Docker upgrade
  • review everything

@ForNeVeR ForNeVeR self-assigned this Aug 7, 2022
@ForNeVeR ForNeVeR force-pushed the feature/102.content-proxy branch from 0e2be47 to 4c9895f Compare August 21, 2022 19:44
@ForNeVeR ForNeVeR force-pushed the feature/102.content-proxy branch from 4c9895f to 4d6bfc5 Compare August 21, 2022 19:49
}

let rec processLoop(processor: MailboxProcessor<_ * AsyncReplyChannel<_>>) = async {
while true do
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

We have several places with while true in async code already, and they seem non-problematic for now. I think I'll leave that as-is, but will keep an eye on it.

@ForNeVeR ForNeVeR force-pushed the feature/102.content-proxy branch from 27d0db9 to 3977248 Compare August 28, 2022 13:10
@ForNeVeR ForNeVeR force-pushed the feature/102.content-proxy branch from 6952a9f to 2a3c54d Compare August 28, 2022 13:32
@ForNeVeR ForNeVeR force-pushed the feature/102.content-proxy branch from 2a3c54d to f6bcfff Compare August 28, 2022 13:44
@ForNeVeR ForNeVeR marked this pull request as ready for review August 28, 2022 13:45
@ForNeVeR ForNeVeR force-pushed the feature/102.content-proxy branch from f6bcfff to 2861ee8 Compare August 28, 2022 13:46
@ForNeVeR ForNeVeR force-pushed the feature/102.content-proxy branch from 1735749 to 7936682 Compare August 28, 2022 13:56
@ForNeVeR ForNeVeR merged commit 7936682 into master Aug 28, 2022
@ForNeVeR ForNeVeR deleted the feature/102.content-proxy branch August 28, 2022 14:10
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.

Telegram content proxy

3 participants