Skip to content

Commit

Permalink
Limiting line size to comply with travis
Browse files Browse the repository at this point in the history
  • Loading branch information
escobera committed May 1, 2020
1 parent 812e3c4 commit 4340bab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/brod_utils.erl
Expand Up @@ -143,7 +143,8 @@ get_metadata(Hosts, Topics, ConnCfg) ->
offset_time(), conn_config()) ->
{ok, offset()} | {error, any()}.
resolve_offset(Hosts, Topic, Partition, Time, ConnCfg) ->
Opts = #{timeout => proplists:get_value(connect_timeout, ConnCfg, ?DEFAULT_TIMEOUT)},
Opts = #{timeout => proplists:get_value(
connect_timeout, ConnCfg, ?DEFAULT_TIMEOUT)},
resolve_offset(Hosts, Topic, Partition, Time, ConnCfg, Opts).

%% @doc Resolve timestamp to real offset.
Expand Down

0 comments on commit 4340bab

Please sign in to comment.