Skip to content

Commit

Permalink
Update to Que's latest released version and schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
chanks committed Jan 24, 2014
1 parent 956e7b6 commit 0e24e2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source 'https://rubygems.org'
gem 'delayed_job'
gem 'delayed_job_active_record'
gem 'queue_classic', '3.0.0rc'
gem 'que'
gem 'que', '0.5.0'

# Use Redis to track job rates and synchronize workers.
gem 'redis'
Expand Down
5 changes: 2 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ GEM
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
que (0.2.0)
multi_json (~> 1.0)
que (0.5.0)
queue_classic (3.0.0rc)
pg (~> 0.17.0)
redis (3.0.6)
Expand All @@ -53,6 +52,6 @@ DEPENDENCIES
delayed_job_active_record
hiredis
pry
que
que (= 0.5.0)
queue_classic (= 3.0.0rc)
redis
2 changes: 1 addition & 1 deletion queues/que.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$pg.async_exec "DROP TABLE IF EXISTS que_jobs"

Que.connection = $pg
Que.create!
Que.migrate!

$pg.async_exec <<-SQL
INSERT INTO que_jobs (job_class, priority)
Expand Down

0 comments on commit 0e24e2d

Please sign in to comment.