Skip to content

Commit

Permalink
Max body size is not a parameter anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianaromagnoli committed May 3, 2024
1 parent 7dde6d6 commit bb1aed0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion esb.yml.sample
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
parameters:
beanstalkd: tcp://127.0.0.1:11300 # Beanstalkd connection URI
http_server_port: 34981 # HTTP Server Port
http_server_max_body_size: '%env(default::int:ESB_HTTP_SERVER_MAX_BODY_SIZE)%' # HTTP Server max body size
logger_mail_to: [email protected] # Email address where to send significant events mail notifications
logger_mail_from: "From Name <[email protected]>" # From name/address for significant events mail notifications
console_port: 8080 # Web console port
Expand Down
2 changes: 1 addition & 1 deletion services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
arguments:
$port: '%http_server_port%'
$logger: '@Psr\Log\LoggerInterface'
$maxBodySize: '%http_server_max_body_size%'
$maxBodySize: '%env(default::int:ESB_HTTP_SERVER_MAX_BODY_SIZE)%'

Monolog\Handler\StreamHandler:
class: \Monolog\Handler\StreamHandler
Expand Down
1 change: 0 additions & 1 deletion services_test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
parameters:
beanstalkd: '%env(string:ESB_BEANSTALKD_URL)%'
http_server_port: '%env(int:ESB_HTTP_SERVER_PORT)%'
http_server_max_body_size: '%env(default::int:ESB_HTTP_SERVER_MAX_BODY_SIZE)%'
logger_mail_to: "[email protected]"
logger_mail_from: "From Name <[email protected]>"
console_port: '%env(int:ESB_CONSOLE_PORT)%'
Expand Down

0 comments on commit bb1aed0

Please sign in to comment.