Hopefully fixed MySQL DB crash on startup issue (so we can remove 3 sec wait).

Added option to try alternate UDP ports if the one configured is in use.
UDP packets are now bound to the actual outside IP address and hopefully won't "randomly" select IP on multihomed systems.
This commit is contained in:
Tedd Hansen
2008-02-02 06:34:07 +00:00
parent 41516fa2c3
commit b089ccfa3d
8 changed files with 78 additions and 14 deletions

View File

@@ -417,8 +417,9 @@ namespace OpenSim.Framework.Data.MySQL
public void StoreLandObject(Land parcel, LLUUID regionUUID)
{
MainLog.Instance.Verbose("DATASTORE", "Tedds temp fix: Waiting 3 seconds for stuff to catch up. (Someone please fix! :))");
System.Threading.Thread.Sleep(3000);
// Does the new locking fix it?
//MainLog.Instance.Verbose("DATASTORE", "Tedds temp fix: Waiting 3 seconds for stuff to catch up. (Someone please fix! :))");
//System.Threading.Thread.Sleep(3000);
lock (DBAccessLock)
{