funktor 0.7.6 → 0.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/funktor-testapp/app/services/job_flood.rb +1 -1
- data/funktor-testapp/funktor_config/resources/cloudwatch_dashboard.yml +1133 -37
- data/lib/funktor/activity_tracker.rb +1 -2
- data/lib/funktor/cli/init.rb +1 -1
- data/lib/funktor/cli/templates/funktor_config/resources/cloudwatch_dashboard.yml +283 -0
- data/lib/funktor/incoming_job_handler.rb +2 -2
- data/lib/funktor/job_activator.rb +2 -3
- data/lib/funktor/job_pusher.rb +1 -1
- data/lib/funktor/version.rb +1 -1
- data/lib/funktor/web/application.rb +1 -1
- data/lib/funktor/work_queue_handler.rb +2 -2
- data/lib/funktor.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6223487c9bd2388ca7f831765d17c9976844f5b2314c54be70adc04b28b5febf
|
4
|
+
data.tar.gz: 4f4d08b269e377195eda7c2ee2796b7c7e8fad22a45527b58cbae8ef059bacd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7e3a6ceb5e56dccf8a2d4740afd5b4e5ff52b19f9baca7b36577b3a00839aa2689ba5e5e8380e6ef5e492052097f6a6830140162c55556b50e67dfd493cd70e
|
7
|
+
data.tar.gz: 71e629835a09f399d329f422d56f570d709276bd04a50b368a3afa0e2037ed17aa7ec99f4308e7da1328e00d89d0ee114a5fd9ee83a50051486bdc8bada37acb
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
funktor (0.7.
|
4
|
+
funktor (0.7.9)
|
5
5
|
activesupport
|
6
6
|
aws-sdk-dynamodb (~> 1.62)
|
7
7
|
aws-sdk-sqs (~> 1.37)
|
@@ -22,8 +22,8 @@ GEM
|
|
22
22
|
addressable (2.8.0)
|
23
23
|
public_suffix (>= 2.0.2, < 5.0)
|
24
24
|
aws-eventstream (1.2.0)
|
25
|
-
aws-partitions (1.
|
26
|
-
aws-sdk-core (3.
|
25
|
+
aws-partitions (1.587.0)
|
26
|
+
aws-sdk-core (3.131.0)
|
27
27
|
aws-eventstream (~> 1, >= 1.0.2)
|
28
28
|
aws-partitions (~> 1, >= 1.525.0)
|
29
29
|
aws-sigv4 (~> 1.1)
|
@@ -23,7 +23,7 @@ class JobFlood
|
|
23
23
|
job_target_time = Time.now + (minute * 60) + rand(60)
|
24
24
|
job_sleep = rand(0.0..max_job_length_in_seconds.to_f)
|
25
25
|
puts job_target_time
|
26
|
-
[AuditWorker, AuditWorker, SingleThreadAuditWorker].sample.perform_at(job_target_time, {
|
26
|
+
[AuditWorker, AuditWorker, SingleThreadAuditWorker, HelloWorker, GreetingsWorker].sample.perform_at(job_target_time, {
|
27
27
|
mode: 'later',
|
28
28
|
message: 'msg: from random JobFlood - ' + SecureRandom.hex,
|
29
29
|
target_time: job_target_time,
|