f3a0a04b

By: Michael Lynch <git@mtlynch.io>

Reduce upload handler churn

Inline the temporary-file cleanup and media item construction so the upload handler stays closer to the master version while preserving the video upload path.

Suite timing

Time to Start Worker time Duration Time to finish
Config 18s 56s 56s 1m14s
Eval 1m13s 2m35s 2m35s 3m49s
Build 1m35s 7m59s 2m58s 4m34s
Suite 18s 11m31s 4m15s 4m34s

Timeline

0s20s40s1m1m20s1m40s2m2m20s2m40s3m3m20s3m40s4m4m20s