Skip to content

Commit 7a113dd

Browse files
authored
Merge pull request #445 from 3scale/upgrde-rack-2.16
THREESCALE-12056: Upgrade rack 2.16
2 parents c53bcc0 + bd8ffc0 commit 7a113dd

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,11 @@ jobs:
257257
name: ubuntu_vm
258258
working_directory: ~/project
259259
environment:
260+
CONFIG_QUEUES_READ_TIMEOUT: 10
261+
CONFIG_QUEUES_WRITE_TIMEOUT: 10
260262
CONFIG_QUEUES_MASTER_NAME: redis://localhost:6379
263+
CONFIG_REDIS_READ_TIMEOUT: 10
264+
CONFIG_REDIS_WRITE_TIMEOUT: 10
261265
CONFIG_REDIS_PROXY: redis://localhost:22121
262266
steps:
263267
- *attach-to-workspace

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ gem 'builder', '= 3.2.3'
5555
gem 'redis', '~> 5.0'
5656
gem 'resque', '~> 2.6.0'
5757
gem 'redis-namespace', '~>1.8'
58-
gem 'rack', '~> 3.0'
58+
gem 'rack', '~> 3.1.19'
5959
gem "rackup", "~> 2.2"
6060
gem 'sinatra', '~> 4.1.0'
6161
gem 'sinatra-contrib', '~> 4.1.0'

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ GEM
196196
puma (6.5.0)
197197
nio4r (~> 2.0)
198198
racc (1.8.0)
199-
rack (3.1.8)
199+
rack (3.1.19)
200200
rack-protection (4.1.1)
201201
base64 (>= 0.1.0)
202202
logger (>= 1.6.0)
@@ -326,7 +326,7 @@ DEPENDENCIES
326326
pry-byebug (~> 3)
327327
pry-doc (~> 1.1)
328328
puma (~> 6.5.0)
329-
rack (~> 3.0)
329+
rack (~> 3.1.19)
330330
rack-test (~> 2.0)
331331
rackup (~> 2.2)
332332
rake (~> 13.0)

test/integration/huge_payload_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def setup
2323
end
2424

2525
def test_report_handles_huge_payloads
26-
payload = generate_payload((ENV['HUGE_PAYLOAD_SIZE'] || 10000).to_i)
26+
payload = generate_payload((ENV['HUGE_PAYLOAD_SIZE'] || 2000).to_i)
2727

2828
post '/transactions.xml', {}, :input => payload,
2929
'CONTENT_TYPE' => 'application/x-www-form-urlencoded',

0 commit comments

Comments
 (0)