Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ccb500cf
Commit
ccb500cf
authored
Nov 27, 2012
by
Matt Arsenault
Committed by
antirez
Nov 28, 2012
Browse files
It's a watchdog, not a watchdong.
parent
ed48550f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/debug.c
View file @
ccb500cf
...
@@ -834,7 +834,7 @@ void watchdogScheduleSignal(int period) {
...
@@ -834,7 +834,7 @@ void watchdogScheduleSignal(int period) {
setitimer
(
ITIMER_REAL
,
&
it
,
NULL
);
setitimer
(
ITIMER_REAL
,
&
it
,
NULL
);
}
}
/* Enable the software watchdo
n
g with the specified period in milliseconds. */
/* Enable the software watchdog with the specified period in milliseconds. */
void
enableWatchdog
(
int
period
)
{
void
enableWatchdog
(
int
period
)
{
int
min_period
;
int
min_period
;
...
...
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