summaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2019-03-05 19:47:32 +0100
committerHelmut Grohne <helmut@subdivi.de>2019-03-05 19:47:32 +0100
commitbfec8a73d51a987eda4e6612b1ab6f74b2633a46 (patch)
tree3fc41c490761b753cc055e400b6718859b45eb22 /build.py
parent1e1078f6bdf677bbb557291d76ba012a013f81a7 (diff)
downloadcrossqa-bfec8a73d51a987eda4e6612b1ab6f74b2633a46.tar.gz
reduce timestamps to 1s resolution
We don't need more resolution. It is a distraction and removing it saves around 1% of db size.
Diffstat (limited to 'build.py')
-rwxr-xr-xbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.py b/build.py
index c3343f6..86791fe 100755
--- a/build.py
+++ b/build.py
@@ -25,7 +25,7 @@ def scan_log_status(filelike):
def do_build(source, version, architecture, server):
- now = datetime.datetime.utcnow()
+ now = datetime.datetime.utcnow().replace(microsecond=0)
logtarget = "%s_%s_%s_%s.log.xz" % (source, version, architecture,
now.strftime("%Y%m%d%H%M%S"))
cmdline = ["ssh", server, "sh", "/dev/stdin", architecture,