summaryrefslogtreecommitdiffstats
path: root/scripts/timerdb-info.py
diff options
context:
space:
mode:
authorLibor Peltan <libor.peltan@nic.cz>2021-12-17 10:22:44 +0100
committerDaniel Salzman <daniel.salzman@nic.cz>2022-02-24 16:44:01 +0100
commit2eb866673f490c1d2ce17c44dac02933ac06082a (patch)
treeb29afa549611c1a6389f6591f171b847aca67510 /scripts/timerdb-info.py
parentMerge branch 'knotc-autocomplete-cat' into 'master' (diff)
downloadknot-2eb866673f490c1d2ce17c44dac02933ac06082a.tar.xz
knot-2eb866673f490c1d2ce17c44dac02933ac06082a.zip
timers: refactoring: store expire timestamp instead of last refresh
Diffstat (limited to 'scripts/timerdb-info.py')
-rwxr-xr-xscripts/timerdb-info.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/timerdb-info.py b/scripts/timerdb-info.py
index 419c850d0..cc1d729c9 100755
--- a/scripts/timerdb-info.py
+++ b/scripts/timerdb-info.py
@@ -57,6 +57,7 @@ class TimerDBInfo:
0x88: ("notify_serial", cls.format_notify_serial),
# knot >= 3.2
0x89: ("last_refresh_ok", cls.format_bool),
+ 0x8a: ("next_expire", cls.format_timestamp),
}
if id in timers:
return (timers[id][0], timers[id][1](value))