Wes wrote:
One other question on the database... What happens when the DB is down?
SA continues using scoreset 0 or 1 (instead of 2 or 3), depending on if you've got net tests enabled or not.
Connection refused could be handled quickly if it fails opena and just said "ok, no bayes for now". Waiting on a TCP Connect Abort timer for every query attempt would be devastating.
Again, I haven't looked at the code for years. Connection refused should be detected quite quickly though. If there's a firewall just dropping packets (so that you can't really detect a closed port) things are going to be less than ideal (I don't know how long it'll take to timeout).
Daryl