quilt_rails 3.5.4 → 3.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 985ac6397a1ae2309985f981da8b7047271a027660f6d2804cc05332759c9a8b
4
- data.tar.gz: ad3c0239d187889ed082a2c5a8196e2308f17c7e7a3178a4dff7a0f878dab986
3
+ metadata.gz: 592c0b080cb38e2f3441388b089c9de398f1ac6d9a8374fcc0e07497d3105311
4
+ data.tar.gz: f24e29204dbd946dd4c97182f7e61888e769790097295443f8c8f1bcb8ba46e0
5
5
  SHA512:
6
- metadata.gz: a5668a48c0b9a57ed86e3ffc12fd183cf44465fd34955d37ecdf23feccb5e706668388719696a4f5e8277d2d1350e5ac5a49d9b9c2b648c299737073745ea6bc
7
- data.tar.gz: d9c2d99bfc96e57eb81c14c470d95490d55040e70c096a440e3d8e4607106d0d9b3ac944fa106fd07a7ed4a0d8cf2a3527384b3b39637b6940d3e43abffde649
6
+ metadata.gz: fae414a9e0d56917e5bbe809e21eda522215a182bb144f8849c1cdf27eb6c7b1514e400e8b51e30ee6de798ac296e29e083b964dd94068f0e6908b8c7f938d01
7
+ data.tar.gz: 9de5aa59ffee287534e46e13c430d4400e78e70953fd363cd60fb7d9b8069e2b4c8ca33f5ccfdb811b98859a5058c60cc6d1f8f19a48a025d3d97a90f351c365
@@ -5,12 +5,15 @@ module Quilt
5
5
  include Quilt::Performance::Reportable
6
6
  protect_from_forgery with: :null_session
7
7
 
8
+ MAX_THREADS = 25
9
+
8
10
  def create
9
- process_report
11
+ Thread.new do
12
+ process_report
13
+ rescue # rubocop:disable Lint/SuppressedException
14
+ end if Thread.list.count < MAX_THREADS
10
15
 
11
- render(json: { result: 'success' }, status: 200)
12
- rescue ActionController::ParameterMissing => error
13
- render(json: { error: error.message, status: 422 })
16
+ render(plain: '{"result":"success"}', status: 200)
14
17
  end
15
18
  end
16
19
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Quilt
3
- VERSION = "3.5.4"
3
+ VERSION = "3.5.5"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quilt_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.4
4
+ version: 3.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathew Allen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-22 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties