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
1c03ee73
Commit
1c03ee73
authored
Mar 06, 2014
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Send fails (and worker thread exits) if a send immediately after a
successful reconnect fails.
parent
d633a76d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
worker.c
trackrdrd/src/worker.c
+1
-0
No files found.
trackrdrd/src/worker.c
View file @
1c03ee73
...
@@ -147,6 +147,7 @@ wrk_send(void **amq_worker, dataentry *entry, worker_data_t *wrk)
...
@@ -147,6 +147,7 @@ wrk_send(void **amq_worker, dataentry *entry, worker_data_t *wrk)
err
=
MQ_Send
(
*
amq_worker
,
entry
->
data
,
entry
->
end
);
err
=
MQ_Send
(
*
amq_worker
,
entry
->
data
,
entry
->
end
);
if
(
err
!=
NULL
)
{
if
(
err
!=
NULL
)
{
wrk
->
fails
++
;
wrk
->
fails
++
;
*
amq_worker
=
NULL
;
LOG_Log
(
LOG_ALERT
,
LOG_Log
(
LOG_ALERT
,
"Worker %d: Failed to send data after reconnect: %s"
,
"Worker %d: Failed to send data after reconnect: %s"
,
wrk
->
id
,
err
);
wrk
->
id
,
err
);
...
...
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