From bd8f585b9996667db89764ece1cacf37672e3223 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 24 Mar 2014 16:22:34 +0100 Subject: core: add a setting to globally control the default for timer unit accuracy --- src/core/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/timer.c') 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) { -- cgit v1.2.3-54-g00ecf