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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 592c0b080cb38e2f3441388b089c9de398f1ac6d9a8374fcc0e07497d3105311
|
4
|
+
data.tar.gz: f24e29204dbd946dd4c97182f7e61888e769790097295443f8c8f1bcb8ba46e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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(
|
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
|
data/lib/quilt_rails/version.rb
CHANGED
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
|
+
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:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|