On 1/6/12 7:47 AM, [email protected] wrote:
Afternoon all,


In records.config there is the setting
proxy.config.http.connect_attempts_max_retries which defaults to 6. If a
page has not returned in 2 mins then it is retried.

We have a small number of long running scripts that are harmless but if
run twice within 5 mins can cause events to be run multiple times. We are
therefore considering setting retries to 0 as most users will have given
in after 2 mins of inactivity on a normal page.

So, the server isn't sending anything at all back on the first request? I guess that will be treated as a connection failed attempt, and it will tear down that connection, and try again. Yes, setting it to 0 ought to have the effect you want, although, not sure it's ideal (what if a connection fails for a reason, and you really want it to make another connection attempt?).

Fwiw, note that this setting is also overridable per transaction. So, you could for example make a remap.config rule specifically for this one page you worry about, using the provides conf_remap.so plugin, and an appropriate config file (same format as records.config, but just put in that one config in there, setting it to 0). If you can do that, that's the best approach IMO.

Cheers,

-- leif


Are there any issue with this config change?

Many thanks,


Andrew


Reply via email to