Heya Garrett

Okay, took a little longer than 10 minutes, but v2.0.2 of ts-delayed-delta has 
been released.

The issue was that the default priority was nil, and DJ (or perhaps the 
delayed_jobs table, depending on how it's set up) doesn't like that. The 
default priority is now 0 (highest), but if you wish to customise that, set 
delayed_job_priority in each appropriate environment in 
config/thinking_sphinx.yml.

Also, for anyone reading this who wants to set a queue, delayed_job_queue is 
the setting you're after. Same deal, each environment in 
config/thinking_sphinx.yml.

Cheers

-- 
Pat

On 21 Apr 2014, at 11:37 pm, Pat Allan <[email protected]> wrote:

> Give me 10 minutes and I'll have a fix ready (you're not the first to hit 
> this problem).
> 
> On 21 Apr 2014, at 11:34 pm, Garrett Dimon <[email protected]> wrote:
> 
>> We're trying to upgrade TS and the related gems prior to switching over to 
>> real-time, but now we're having problems with our delta indexing.
>> 
>> Here's the related gems/versions...
>> 
>> gem 'delayed_job', '~> 3.0.5'
>> gem 'delayed_job_active_record', '~> 0.4.4'
>> gem 'riddle', '~> 1.5.11'
>> gem 'thinking-sphinx', '~> 3.1.0', git: 
>> 'git://github.com/pat/thinking-sphinx.git', branch: 'develop', ref: 
>> '94ee176a7a'
>> gem 'ts-delayed-delta', '~> 2.0.1', require: 
>> 'thinking_sphinx/deltas/delayed_delta'
>> 
>> From what I can tell, the delta background jobs aren't being created at all. 
>> Looking at the logs, the delta index is being searched, but it has a size of 
>> zero. So, it seems as if new entries aren't updating the delta portions of 
>> the index.
>> 
>> I believe that I've accidentally gotten it working locally once, but it's 
>> never worked in our staging environment. And it's currently not working 
>> locally any more either.
>> 
>> Are there any common configuration problems that could be causing this?
>> 
>> Thanks,
>> Garrett
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Thinking Sphinx" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/thinking-sphinx.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to