diff options
author | Libor Peltan <libor.peltan@nic.cz> | 2021-12-17 10:22:44 +0100 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2022-02-24 16:44:01 +0100 |
commit | 2eb866673f490c1d2ce17c44dac02933ac06082a (patch) | |
tree | b29afa549611c1a6389f6591f171b847aca67510 /scripts/timerdb-info.py | |
parent | Merge branch 'knotc-autocomplete-cat' into 'master' (diff) | |
download | knot-2eb866673f490c1d2ce17c44dac02933ac06082a.tar.xz knot-2eb866673f490c1d2ce17c44dac02933ac06082a.zip |
timers: refactoring: store expire timestamp instead of last refresh
Diffstat (limited to 'scripts/timerdb-info.py')
-rwxr-xr-x | scripts/timerdb-info.py | 1 |
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)) |