diff options
author | Helmut Grohne <helmut@subdivi.de> | 2019-03-05 19:47:32 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2019-03-05 19:47:32 +0100 |
commit | bfec8a73d51a987eda4e6612b1ab6f74b2633a46 (patch) | |
tree | 3fc41c490761b753cc055e400b6718859b45eb22 /depcheck.py | |
parent | 1e1078f6bdf677bbb557291d76ba012a013f81a7 (diff) | |
download | crossqa-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 'depcheck.py')
-rwxr-xr-x | depcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/depcheck.py b/depcheck.py index 3bbe2d7..884f2ad 100755 --- a/depcheck.py +++ b/depcheck.py @@ -453,7 +453,7 @@ def main(): (mirror.releasetime,)) archs = set(row[0] for row in cur.fetchall()) print("checking %s" % " ".join(sorted(archs))) - now = datetime.datetime.utcnow() + now = datetime.datetime.utcnow().replace(microsecond=0) mapper = multiprocessing.Pool().imap_unordered if args.parallel else map for architecture, state in mapper(functools.partial(main_docheck, mirror), archs): |