Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trackrdrd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
trackrdrd
Commits
2210e95e
Commit
2210e95e
authored
May 31, 2014
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MQ plugin for Kafka: fix a bug setting the monitor thread interval
parent
5104141d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
monitor.c
trackrdrd/src/mq/kafka/monitor.c
+4
-4
No files found.
trackrdrd/src/mq/kafka/monitor.c
View file @
2210e95e
...
...
@@ -69,11 +69,11 @@ static void
unsigned
interval
=
*
((
unsigned
*
)
arg
);
/* Convert ms -> struct timespec */
t
.
tv_sec
=
(
time_t
)
interval
/
1
0
e3
;
t
.
tv_nsec
=
(
interval
%
(
unsigned
)
1
0e3
)
*
10
e6
;
t
.
tv_sec
=
(
time_t
)
interval
/
1e3
;
t
.
tv_nsec
=
(
interval
%
(
unsigned
)
1
e3
)
*
1
e6
;
MQ_LOG_Log
(
LOG_INFO
,
"libtrackrdr-kafka monitor thread running every %u.%03u secs"
,
t
.
tv_sec
,
t
.
tv_nsec
/
10
e6
);
"libtrackrdr-kafka monitor thread running every %u.%03
l
u secs"
,
t
.
tv_sec
,
t
.
tv_nsec
/
(
unsigned
long
)
1
e6
);
run
=
1
;
pthread_cleanup_push
(
monitor_cleanup
,
arg
);
...
...
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