From e32d2e515c97b39fc3766ada1486d42cb5fe8338 Mon Sep 17 00:00:00 2001 From: Peter Wilmott Date: Mon, 22 Jun 2015 19:59:01 +0000 Subject: Restore parallel database writes, removed earlier for debugging --- web/lib/packages.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib/packages.rb b/web/lib/packages.rb index 8cad6d4..22e9259 100644 --- a/web/lib/packages.rb +++ b/web/lib/packages.rb @@ -9,7 +9,7 @@ def update_packages(ci_image) packages_txt = ci_container.logs(stdout: true) ci_container.delete - packages_txt.lines.each do |line| + packages_txt.lines.peach do |line| line = line.bytes.drop(8).pack('c*') next if line.empty? sha1, category, name, version, revision, slot, amd64_keyword, r19_target, r20_target, r21_target, r22_target = line.split(' ') -- cgit v1.2.3-65-gdbad