chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: add a setting to globally control the default for timer unit accuracy
[elogind.git]
/
src
/
core
/
timer.c
diff --git
a/src/core/timer.c
b/src/core/timer.c
index 62baf5785d3eef2ea786ad822b0f7f47603fa87b..6c853044a17fb5c733fc71b2394cc794520c4aed 100644
(file)
--- 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->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) {
}
void timer_free_values(Timer *t) {