Ensure streams are available when downloading remote media
There's a race condition where a stream might not be available if the media is remote and being downloaded. After a couple download attempts, it fixes itself. This will acquire a media stream if one isn't provided to ensure that a stream is always available to the consumer. Fixes https://github.com/turt2live/matrix-media-repo/issues/142
Showing
- src/github.com/turt2live/matrix-media-repo/controllers/download_controller/download_controller.go 14 additions, 0 deletions...po/controllers/download_controller/download_controller.go
- src/github.com/turt2live/matrix-media-repo/controllers/download_controller/download_resource_handler.go 7 additions, 9 deletions...trollers/download_controller/download_resource_handler.go
Loading
Please register or sign in to comment