Bug #107
Video conversion has stopped working
| Status: | Closed | Start: | ||
| Priority: | High | Due date: | ||
| Assigned to: | yossarian | % Done: | 0% |
|
| Category: | Videos | |||
| Target version: | 0.4 - Rebel Yell (2b || !2b) | |||
| Resolution: | fixed |
Description
For some reason video conversions are now not being triggered after uploading a video file. It could be that I screwed up with the "if there's not a file attached don't convert" code from ticket:98
History
Updated by yossarian over 3 years ago
- Status changed from New to Assigned
Updated by yossarian over 3 years ago
Video conversion is now working ok (I tweaked some config files) but it appears that the front page, latest featured videos, and video show page caches are not being expired properly, pointing to a problem in the videos_sweeper.
Ditching subclassing on the sweeper seems like the easiest fix for now.
Updated by yossarian over 3 years ago
Ok, the problem is narrowing down. The problem isn't the subclassing, it's the fact that backgroundrb doesn't fire the sweeper when a video gets saved after being encoded. At least, it doesn't on the dk server. It maybe is working locally, for whatever reason...
Updated by yossarian over 3 years ago
- Status changed from Assigned to Closed
- Resolution set to fixed
It didn't actually work locally, it was just that the cache gets rewritten on every request in development mode. I've solved this one by manually blowing out the cache when the backgroundrb process completes, see r182.