Skip to content

Commit 6847dbd

Browse files
committed
mix credo
1 parent c6d7c38 commit 6847dbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/mongo/streaming_hello_monitor.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,15 @@ defmodule Mongo.StreamingHelloMonitor do
151151
end
152152

153153
defp hello_command(conn_pid, %{"counter" => counter, "processId" => process_id}, opts) do
154-
maxAwaitTimeMS = Keyword.get(opts, :max_await_time_ms, 10_000)
154+
max_await_time_ms = Keyword.get(opts, :max_await_time_ms, 10_000)
155155

156156
opts =
157157
opts
158158
|> Keyword.merge(flags: [:exhaust_allowed])
159-
|> Keyword.merge(timeout: maxAwaitTimeMS * 2)
159+
|> Keyword.merge(timeout: max_await_time_ms * 2)
160160

161161
cmd = [
162-
maxAwaitTimeMS: maxAwaitTimeMS,
162+
maxAwaitTimeMS: max_await_time_ms,
163163
topologyVersion: %{
164164
counter: %BSON.LongNumber{value: counter},
165165
processId: process_id

0 commit comments

Comments
 (0)