Skip to content

Commit

Permalink
remove duplicate text in heroku guide (phoenixframework#5609)
Browse files Browse the repository at this point in the history
  • Loading branch information
koga1020 authored Oct 23, 2023
1 parent 6180f14 commit e35ae7c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions guides/deployment/heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,17 +176,6 @@ config :hello, Hello.Repo,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
```



Then open up your `config/runtime.exs` (formerly `config/prod.secret.exs`) and uncomment the `# ssl: true,` line in your repository configuration. It will look like this:

```elixir
config :hello, Hello.Repo,
ssl: true,
url: database_url,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
```

Finally, if you plan on using websockets, then we will need to decrease the timeout for the websocket transport in `lib/hello_web/endpoint.ex`. If you do not plan on using websockets, then leaving it set to false is fine. You can find further explanation of the options available at the [documentation](https://hexdocs.pm/phoenix/Phoenix.Endpoint.html#socket/3-websocket-configuration).

```elixir
Expand Down

0 comments on commit e35ae7c

Please sign in to comment.