diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-03-24 16:22:34 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-24 16:24:07 +0100 |
commit | bd8f585b9996667db89764ece1cacf37672e3223 (patch) | |
tree | 74f49483d158ad6a028b319b249b32291dbb137b /src/core/timer.c | |
parent | dedabea4b3d61a87cedb5c8d7ccce5b86ea84afe (diff) |
core: add a setting to globally control the default for timer unit accuracy
Diffstat (limited to 'src/core/timer.c')
-rw-r--r-- | src/core/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/timer.c b/src/core/timer.c index 62baf5785d..6c853044a1 100644 --- a/src/core/timer.c +++ b/src/core/timer.c @@ -48,7 +48,7 @@ static void timer_init(Unit *u) { t->next_elapse_monotonic_or_boottime = (usec_t) -1; t->next_elapse_realtime = (usec_t) -1; - t->accuracy_usec = USEC_PER_MINUTE; + t->accuracy_usec = u->manager->default_timer_accuracy_usec; } void timer_free_values(Timer *t) { |