skyrunner 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/skyrunner/templates/skyrunner.rb +17 -0
- data/lib/skyrunner/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c800ee01c5a8454b1f0e979c882e557dfd5809c
|
4
|
+
data.tar.gz: e5a119dae1fb7d3f2708757f3f14752ecdfb15b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f148efaaf6187bae36717f41ade22fb10654012cc1ef3de4b05db6416d4242c3987bbc53c679ddc40dede4e1cd1578ada58be8bb3896254fadd956f678f9e56
|
7
|
+
data.tar.gz: 92b05486a947482bbba8703024f914bfe8ff8408477a633fe30c04bb1dff97b4de62fa1270baed6d50bd19a2d0dde0a2b5c946ad3d075ded1411af01cadd9ba8
|
@@ -0,0 +1,17 @@
|
|
1
|
+
SkyRunner.setup do |config|
|
2
|
+
# Customize these to change the name of the table & queue used for job and task management.
|
3
|
+
config.dynamo_db_table_name = "skyrunner_jobs_#{Rails.env}"
|
4
|
+
config.sqs_queue_name = "skyrunner_tasks_#{Rails.env}"
|
5
|
+
|
6
|
+
# Customzie this to change the namespace of jobs enqueued and consumed by this application.
|
7
|
+
config.job_namespace = Rails.application.class.parent_name.underscore
|
8
|
+
|
9
|
+
# Set the number of tasks for a consumer to pull and run from SQS at a time. (Max 10, default 10)
|
10
|
+
#
|
11
|
+
# config.consumer_batch_size = 10
|
12
|
+
|
13
|
+
# Set the visibility timeout of queue items. If the consumer batch size (above) is set to 10,
|
14
|
+
# this should provide sufficient time for a consumer to process 10 tasks, for example. (default 90)
|
15
|
+
#
|
16
|
+
# config.visibility_timeout = 90
|
17
|
+
end
|
data/lib/skyrunner/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skyrunner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Fodor
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- bin/skyrunner
|
112
112
|
- jobs/example_job.rb
|
113
113
|
- lib/generators/skyrunner/install_generator.rb
|
114
|
+
- lib/generators/skyrunner/templates/skyrunner.rb
|
114
115
|
- lib/skyrunner.rb
|
115
116
|
- lib/skyrunner/engine.rb
|
116
117
|
- lib/skyrunner/job.rb
|