Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Knot projects
Knot DNS
Commits
fadb6c95
Commit
fadb6c95
authored
Jun 17, 2014
by
Jan Kadlec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zone-events: Fixed flush replan.
parent
a309984c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/knot/zone/events.c
src/knot/zone/events.c
+1
-1
No files found.
src/knot/zone/events.c
View file @
fadb6c95
...
...
@@ -621,7 +621,7 @@ static void replan_flush(zone_t *zone, const zone_t *old_zone)
}
// Pick time to schedule: either reuse or schedule sooner than old event.
const
time_t
schedule_at
=
MIN
(
time
(
NULL
)
-
zone
->
conf
->
dbsync_timeout
,
flush_time
);
const
time_t
schedule_at
=
MIN
(
time
(
NULL
)
+
zone
->
conf
->
dbsync_timeout
,
flush_time
);
zone_events_schedule_at
(
zone
,
ZONE_EVENT_FLUSH
,
schedule_at
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment