active_elastic_job 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a15dee97e68451ab5d4e68fdc849c8898c40ebd6
|
4
|
+
data.tar.gz: 76a7503a7a8d3385b71675587a7094224025ade3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa4289336749473efac64d3f6bb09751ddad6d7eee12fe977ee0d9bb84c888caed6711ba0cc01e5af8040943bcabaa32ef6b4b2a39c383df90a93f3a2e5003dd
|
7
|
+
data.tar.gz: 397a332e277690241346c84c3fda6fc13d3010d902c6b7406b16b2841139f99e727c5baeb42d54808dde0506bc9ea5e930ddffa02ea6bb2002eac0ea70ffeab3
|
@@ -18,6 +18,8 @@ module ActiveJob
|
|
18
18
|
|
19
19
|
class Error < StandardError; end;
|
20
20
|
|
21
|
+
# Raised when job exceeds 256 KB in its serialized form. The limit is
|
22
|
+
# imposed by Amazon SQS.
|
21
23
|
class SerializedJobTooBig < Error
|
22
24
|
def initialize(serialized_job)
|
23
25
|
msg = <<-MSG
|
@@ -28,15 +30,15 @@ which exceeds the allowed maximum of #{MAX_MESSAGE_SIZE} bytes imposed by Amazon
|
|
28
30
|
end
|
29
31
|
end
|
30
32
|
|
31
|
-
# Raised when job queue does not exist. The job queue is determined
|
33
|
+
# Raised when job queue does not exist. The job queue is determined by
|
32
34
|
# <tt>ActiveJob::Base.queue_as</tt>. You can either: (1) create a new Amazon
|
33
|
-
# SQS queue and attach a worker
|
35
|
+
# SQS queue and attach a worker environment to it, or (2) select a different
|
34
36
|
# queue for your jobs.
|
35
37
|
#
|
36
38
|
# Example:
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
39
|
+
# * Open your AWS console and create an SQS queue named +high_priority+ in
|
40
|
+
# the same AWS region of your Elastic Beanstalk environments.
|
41
|
+
# * Queue your jobs accordingly:
|
40
42
|
#
|
41
43
|
# class MyJob < ActiveJob::Base
|
42
44
|
# queue_as :high_priority
|