diff options
author | Hans Hagen <pragma@wxs.nl> | 2016-10-19 23:19:58 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-10-19 23:19:58 +0200 |
commit | 9e2c13b12ff90635be145c6c02e21d6e9583037f (patch) | |
tree | aa2dded4f0c97347381d72299cf93b6c3e4b80dd /tex/context/base/mkiv/util-sql-tickets.lua | |
parent | d273e996892fcf539d67c9548c90d96c2877507a (diff) | |
download | context-9e2c13b12ff90635be145c6c02e21d6e9583037f.tar.gz |
2016-10-19 22:59:00
Diffstat (limited to 'tex/context/base/mkiv/util-sql-tickets.lua')
-rw-r--r-- | tex/context/base/mkiv/util-sql-tickets.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/util-sql-tickets.lua b/tex/context/base/mkiv/util-sql-tickets.lua index a688b2ddb..f392c0b91 100644 --- a/tex/context/base/mkiv/util-sql-tickets.lua +++ b/tex/context/base/mkiv/util-sql-tickets.lua @@ -398,7 +398,8 @@ local template_cleanup_nop =[[ function tickets.cleanupdb(db,delta,nodata) -- maybe delta in db - local time = delta and (ostime() - delta) or 0 + local now = ostime() + local time = delta and (now - delta) or now local records, keys = db.execute { template = nodata and template_cleanup_nop or template_cleanup_yes, |