Skip to content

Commit 9ff6c40

Browse files
Merge pull request #31 from eilers/fix_docu
Fix missing queue_as
2 parents 555692f + 70f5548 commit 9ff6c40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ modify the class with two things:
9595
```ruby
9696
class ResourceIntensiveJob < ApplicationJob
9797
include Resque::Kubernetes::Job
98+
queue_as :high_memory
9899

99100
def perform
100101
# ... your existing code
@@ -117,7 +118,7 @@ class ResourceIntensiveJob < ApplicationJob
117118
image: us.gcr.io/project-id/some-resque-worker
118119
env:
119120
- name: QUEUE
120-
value: high-memory
121+
value: high_memory
121122
MANIFEST
122123
)
123124
end

0 commit comments

Comments
 (0)