Skip to content

Commit 6312632

Browse files
committed
Updated README.md
1 parent f222b6b commit 6312632

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
```

0 commit comments

Comments
 (0)