freelancing-god-thinking-sphinx 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,9 @@ module ThinkingSphinx
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def self.cancel_thinking_sphinx_jobs
|
9
|
-
|
9
|
+
if connection.tables.include?("delayed_jobs")
|
10
|
+
delete_all("handler LIKE '--- !ruby/object:ThinkingSphinx::Deltas::%'")
|
11
|
+
end
|
10
12
|
end
|
11
13
|
|
12
14
|
private
|
data/lib/thinking_sphinx.rb
CHANGED