que 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -2
- data/lib/que/rake_tasks.rb +2 -0
- data/lib/que/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5b079fcd58e807e529a24355cd68b1f01872824
|
4
|
+
data.tar.gz: 28e4205134326cdcd0a9f0416d96796dfeecfb99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42b58920c74ab27e09647987ede2ae07a362c034b557d1fcbea21cfdcaf8ae64eb712d4688731bfab10bd7ebbb28c384dc5c431a6854245852e8a2a491b9e626
|
7
|
+
data.tar.gz: ab299f61a338f3ae5b26cf3186beda5c15313e0fce0da6287676fc4faa6e0a7d0ec896376f9fdfb44f9e4e4aa3bdf6f06b46417ed81a12a55d8493597cf5a261
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
+
### 0.11.1 (2015-09-04)
|
2
|
+
|
3
|
+
* The `rake que:work` rake task that was specific to Rails has been deprecated and will be removed in Que 1.0. A deprecation warning will display when it is run.
|
4
|
+
|
1
5
|
### 0.11.0 (2015-09-04)
|
2
6
|
|
3
7
|
* A command-line program has been added that can be used to work jobs in a more flexible manner than the previous rake task. Run `que -h` for more information.
|
4
8
|
|
5
|
-
* The `rake que:work` rake task that was specific to Rails has been removed in favor of the CLI, and the various QUE_* environment variables no longer have any effect.
|
6
|
-
|
7
9
|
* The worker pool will no longer start automatically in the same process when running the rails server - this behavior was too prone to breakage. If you'd like to recreate the old behavior, you can manually set `Que.mode = :async` in your app whenever conditions are appropriate (classes have loaded, a database connection has been established, and the process will not be forking).
|
8
10
|
|
9
11
|
* Add a Que.disable_prepared_transactions= configuration option, to make it easier to use tools like pgbouncer. (#110)
|
@@ -12,6 +14,8 @@
|
|
12
14
|
|
13
15
|
* When using Que with ActiveRecord, workers now call `ActiveRecord::Base.clear_active_connections!` between jobs. This cleans up connections that ActiveRecord leaks when it is used to access mutliple databases. (#116)
|
14
16
|
|
17
|
+
* If it exists, use String#constantize to constantize job classes, since ActiveSupport's constantize method behaves better with Rails' autoloading. (#115, #120) (joevandyk)
|
18
|
+
|
15
19
|
### 0.10.0 (2015-03-18)
|
16
20
|
|
17
21
|
* When working jobs via the rake task, Rails applications are now eager-loaded if present, to avoid problems with multithreading and autoloading. (#96) (hmarr)
|
data/lib/que/rake_tasks.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
namespace :que do
|
2
2
|
desc "Process Que's jobs using a worker pool"
|
3
3
|
task :work => :environment do
|
4
|
+
$stdout.puts "The que:work rake task has been deprecated and will be removed in Que 1.0. Please transition to the que command line interface instead."
|
5
|
+
|
4
6
|
if defined?(::Rails) && Rails.respond_to?(:application)
|
5
7
|
# ActiveSupport's dependency autoloading isn't threadsafe, and Que uses
|
6
8
|
# multiple threads, which means that eager loading is necessary. Rails
|
data/lib/que/version.rb
CHANGED