Skip to content

Commit 1f155e3

Browse files
committed
mix format
1 parent 9d6637f commit 1f155e3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/matrix/raw_client.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule M51.Matrix.RawClient do
2424

2525
def get(client, path, headers \\ [], options \\ []) do
2626
headers = [Authorization: "Bearer " <> client.access_token] ++ headers
27-
options = options |> Keyword.put_new(:timeout, 120000)
27+
options = options |> Keyword.put_new(:timeout, 120_000)
2828

2929
url = client.base_url <> path
3030

lib/matrix_client/client.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ defmodule M51.MatrixClient.Client do
3838

3939
# timeout used for all requests sent to a homeserver.
4040
# It should be slightly larger than M51.Matrix.RawClient's timeout,
41-
@timeout 125000
41+
@timeout 125_000
4242

4343
def start_link(opts) do
4444
{sup_pid, _extra_args} = opts

test/matrix_client/client_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule M51.MatrixClient.ClientTest do
2222
setup :set_mox_from_context
2323
setup :verify_on_exit!
2424

25-
@timeout 125000
25+
@timeout 125_000
2626

2727
setup do
2828
start_supervised!({M51.MatrixClient.State, {self()}})

0 commit comments

Comments
 (0)