generate_releases: reduce number of sql queries for by-hash files
Instead of doing two queries per filename and per hash function, store a
set of known hashfiles up front and group the UPDATEs in a single query.
Suggested by Colin Watson.
Signed-off-by: NJulien Cristau <jcristau@debian.org>
Showing
想要评论请 注册 或 登录