From c62328950a3e4ad30dbe972db11d05ca7519d6de Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Mon, 18 Feb 2008 14:21:51 +0000 Subject: More exception checks and crash hints If no scriptengine is specified then don't try to load any. --- OpenSim/Framework/Data.MySQL/MySQLDataStore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/Data.MySQL/MySQLDataStore.cs') diff --git a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs index 9518724..1edaa52 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs @@ -421,8 +421,8 @@ namespace OpenSim.Framework.Data.MySQL public void StoreLandObject(Land parcel, LLUUID regionUUID) { // Does the new locking fix it? - m_log.Info("[DATASTORE]: Tedds temp fix: Waiting 3 seconds for stuff to catch up. (Someone please fix! :))"); - System.Threading.Thread.Sleep(2500 + rnd.Next(300, 900)); + m_log.Info("[DATASTORE]: Tedds temp fix: Waiting 3 seconds to avoid others writing to table while we hold a dataset of it. (Someone please fix! :))"); + System.Threading.Thread.Sleep(2500 + rnd.Next(0, 1000)); lock (m_dataSet) { -- cgit v1.1