lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gora Mohanty <g...@mimirtech.com>
Subject Re: Miscellaneous DIH related questions
Date Sun, 18 Sep 2011 05:37:50 GMT
On Sun, Sep 18, 2011 at 4:50 AM, Pulkit Singhal <pulkitsinghal@gmail.com> wrote:
[...]
> 3) Is there some way to configure the datasource to retry 3 time or
> something like that? I have increased the values for connectionTimeout
> and readTimeout but it doesn't help when sometimes the server simply
> denies the request due to heavy load. I need to be able to retry at
> those times. The onError has only the abort,skip,continue options, non
> of which really let me retry anything.
[...]

Don't think that there is a built-in feature for this, though it sounds like
it would be useful.

I presume that you are scheduling your imports through cron, or
something like that. One possibility then would be to have the script
check the status of the import, and retry if needed.

Regards,
Gora

Mime
View raw message