Skip to content

Commit e9efdfd

Browse files
ttt161ttt161
andauthored
bump machinery-1.1.19 (#38)
* bump machinery-1.1.19 * bump woody, fix machinery call --------- Co-authored-by: ttt161 <losto@nix>
1 parent bc14c2e commit e9efdfd

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

apps/bender/src/bender_sequence.erl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,13 @@ start(SequenceID, Args, WoodyCtx) ->
112112

113113
-spec call(id(), args(_), woody_context()) -> {ok, response(_)} | {error, notfound}.
114114
call(SequenceID, Msg, WoodyCtx) ->
115-
machinery:call(?NS, SequenceID, Msg, get_backend(WoodyCtx)).
115+
case machinery:call(?NS, SequenceID, Msg, get_backend(WoodyCtx)) of
116+
{error, notfound} ->
117+
timer:sleep(100),
118+
call(SequenceID, Msg, WoodyCtx);
119+
Result ->
120+
Result
121+
end.
116122

117123
-spec get_state(id(), woody_context()) -> {ok, state()} | {error, notfound}.
118124
get_state(SequenceID, WoodyCtx) ->

rebar.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
{bender_proto, {git, "https://github.com/valitydev/bender-proto.git", {branch, "master"}}},
3232
{erl_health, {git, "https://github.com/valitydev/erlang-health.git", {branch, "master"}}},
3333
{genlib, {git, "https://github.com/valitydev/genlib.git", {tag, "v1.1.0"}}},
34-
{machinery, {git, "https://github.com/valitydev/machinery-erlang.git", {tag, "v1.1.10"}}},
34+
{machinery, {git, "https://github.com/valitydev/machinery-erlang.git", {tag, "v1.1.19"}}},
3535
{scoper, {git, "https://github.com/valitydev/scoper.git", {tag, "v1.1.0"}}},
3636
{snowflake, {git, "https://github.com/valitydev/snowflake.git", {branch, "master"}}},
37-
{woody, {git, "https://github.com/valitydev/woody_erlang.git", {tag, "v1.1.0"}}},
37+
{woody, {git, "https://github.com/valitydev/woody_erlang.git", {tag, "v1.1.1"}}},
3838
{opentelemetry_api, "1.2.1"},
3939
{opentelemetry, "1.3.0"},
4040
{opentelemetry_exporter, "1.3.0"}

rebar.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{<<"ctx">>,{pkg,<<"ctx">>,<<"0.6.0">>},2},
2424
{<<"epg_connector">>,
2525
{git,"https://github.com/valitydev/epg_connector.git",
26-
{ref,"2e86da8083908d0d35a4eed3e2168c9ba6a8d04a"}},
26+
{ref,"939a0d4ab3f7561a79b45381bbe13029d9263006"}},
2727
2},
2828
{<<"epgsql">>,
2929
{git,"https://github.com/epgsql/epgsql.git",
@@ -47,7 +47,7 @@
4747
{<<"kafka_protocol">>,{pkg,<<"kafka_protocol">>,<<"4.1.10">>},3},
4848
{<<"machinery">>,
4949
{git,"https://github.com/valitydev/machinery-erlang.git",
50-
{ref,"066f6cecd5d8f011c1b3bf8e45f6ad967c0e733d"}},
50+
{ref,"eac35324e9adc7bfc52e7bb83148335cba01fee8"}},
5151
0},
5252
{<<"metrics">>,{pkg,<<"metrics">>,<<"1.0.1">>},2},
5353
{<<"mg_proto">>,
@@ -70,7 +70,7 @@
7070
{<<"parse_trans">>,{pkg,<<"parse_trans">>,<<"3.3.1">>},2},
7171
{<<"progressor">>,
7272
{git,"https://github.com/valitydev/progressor.git",
73-
{ref,"d429410a0f2b42fbcc22b340cc8dc1915b13f119"}},
73+
{ref,"6033631d3e1eb9593acf7841d8a635146ff482e8"}},
7474
1},
7575
{<<"prometheus">>,{pkg,<<"prometheus">>,<<"4.8.1">>},0},
7676
{<<"prometheus_cowboy">>,{pkg,<<"prometheus_cowboy">>,<<"0.1.8">>},0},
@@ -97,7 +97,7 @@
9797
{<<"unicode_util_compat">>,{pkg,<<"unicode_util_compat">>,<<"0.7.1">>},2},
9898
{<<"woody">>,
9999
{git,"https://github.com/valitydev/woody_erlang.git",
100-
{ref,"cc983a9423325ba1d6a509775eb6ff7ace721539"}},
100+
{ref,"3de9a236b66807d5397b28aed42e2b1c85f36739"}},
101101
0}]}.
102102
[
103103
{pkg_hash,[

0 commit comments

Comments
 (0)