Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
turtle
0033-turtle_publisher-fix-result-format-for-pub...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0033-turtle_publisher-fix-result-format-for-publish-4-cla.patch of Package turtle
From 9ada1829217beeea57bf1e6890e5dd855623b21d Mon Sep 17 00:00:00 2001 From: Led <ledest@gmail.com> Date: Wed, 6 Nov 2019 18:16:06 +0200 Subject: [PATCH] turtle_publisher: fix result format for publish/4 clause without confirmation --- src/turtle_publisher.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/turtle_publisher.erl b/src/turtle_publisher.erl index e670b45..4492345 100644 --- a/src/turtle_publisher.erl +++ b/src/turtle_publisher.erl @@ -396,7 +396,7 @@ publish({rpc_call, From}, Pub, AMQPMsg, T = erlang:monotonic_time(), Opaque = {self(), CorrID}, - {reply, {ok, Opaque}, State#state { + {reply, {ok, Opaque, 0}, State#state { corr_id = CorrID + 1, in_flight = track(From, CorrID, T, IF) }}; publish({F, _X}, Pub, AMQPMsg, #state{ channel = Ch, confirms = false } = State) -> -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor