Skip to content

Commit

Permalink
Code improvement due to @thalesmg's suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Thales Macedo Garitezi <[email protected]>
  • Loading branch information
kjellwinblad and thalesmg authored Sep 4, 2023
1 parent 476e2f9 commit b1f1d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jq_port.erl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ set_filter_program_lru_cache_max_size(NewSize)
when is_integer(NewSize), NewSize >= 0, NewSize < 1073741824 ->
Op =
fun() ->
Expect = [ok || _ <- lists:seq(0, jq_port:nr_of_jq_port_servers() - 1)],
Expect = lists:duplicate(jq_port:nr_of_jq_port_servers(), ok),
Expect = [set_filter_program_lru_cache_max_size(port_server_by_id(Id), NewSize) ||
Id <- lists:seq(0, jq_port:nr_of_jq_port_servers() - 1)],
ok
Expand Down

0 comments on commit b1f1d5d

Please sign in to comment.