Skip to content

Commit

Permalink
Merge pull request #1772 from hexlet-codebattle/fix-bandit
Browse files Browse the repository at this point in the history
Fix bandit
  • Loading branch information
solar05 committed Mar 3, 2024
2 parents d76f0da + 6c4039c commit a939c29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions services/app/config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ config :codebattle, CodebattleWeb.Endpoint,

config :codebattle, CodebattleWeb.BotEndpoint,
http: [
port: "4002",
transport_options: [
max_connections: 30000,
num_acceptors: 500
]
port: "4002"
],
url: [host: "localhost"],
secret_key_base: "zQ3/vT3oIVM94qXO7IgWeAqbLSAyGA9em6fdBw7OdbDnbeotEkWYANrjJWYNWpd/",
Expand Down
6 changes: 1 addition & 5 deletions services/app/config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ import Config

config :codebattle, CodebattleWeb.Endpoint,
http: [
port: System.get_env("CODEBATTLE_PORT", "4000"),
transport_options: [
max_connections: 30000,
num_acceptors: 5000
]
port: System.get_env("CODEBATTLE_PORT", "4000")
],
url: [
scheme: "https",
Expand Down

0 comments on commit a939c29

Please sign in to comment.