forked from Podcastindex-org/web-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring Podcastindex-org#244 - Comments robustness
This commit is a refactoring on the Comments function to improve robustness for loading partial responses form the comments API. Once we introduced partial responses (i.e. chunked encoding), it worked in dev, but failed in production due to buffering in the reverse proxy (nginx). This was already solved with Podcastindex-org#247, but only if the reverse proxy remains unchanged. With this refactoring, the implementation would continue to work even if buffering took place, making it more robust. For testing, the change introduced in the PR mentioned above was reverted (temporarily). For additinal testing instructions, see Podcastindex-org#247 (comment)
- Loading branch information
1 parent
45cce47
commit 7f68c04
Showing
2 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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