Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
petrohi committed Jun 2, 2019
1 parent 7248a0a commit 0059566
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/machine_gun/sup.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ defmodule MachineGun.Supervisor do

def start(name, host, port, size, max_overflow, strategy, conn_opts) do
Supervisor.start_child(MachineGun.Supervisor, [
[name: {:local, name}, worker_module: Worker, size: size, max_overflow: max_overflow, strategy: strategy],
[
name: {:local, name},
worker_module: Worker,
size: size,
max_overflow: max_overflow,
strategy: strategy
],
[
host |> String.to_charlist(),
port,
Expand Down

0 comments on commit 0059566

Please sign in to comment.