File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ The package can be installed via adding the `spotter` dependency to your list of
1414
1515 ``` elixir
1616 def deps do
17- [{:spotter , " ~> 0.3 .0" }]
17+ [{:spotter , " ~> 0.4 .0" }]
1818 end
1919 ```
2020
@@ -110,9 +110,9 @@ Any of those arguments (that were mentioned in the documentation) can be specifi
110110
111111 # And don't forget to ack a processed message. Or perhaps even use nack
112112 # when it will be neceessary.
113- # We will wrap the call into `safe_run(func)` call, so that it will retry
113+ # We will wrap the call into `safe_run(channel, func)` call, so that it will retry
114114 # the executed code when the used channel is failed
115- safe_run (fn (channel) - > AMQP .Basic .ack (channel, tag) end )
115+ safe_run (channel, fn (channel) - > AMQP .Basic .ack (channel, tag) end )
116116 end
117117 end
118118 ```
You can’t perform that action at this time.
0 commit comments