mirror of
https://github.com/opensim/opensim.git
synced 2026-06-30 02:57:02 +08:00
add a lock on the update, this should have been there before.
still not convinced this will help, but it was wrong.
This commit is contained in:
@@ -696,8 +696,19 @@ namespace OpenSim.Data.MySQL
|
||||
// override
|
||||
override public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance)
|
||||
{
|
||||
appearance.Owner = user;
|
||||
database.insertAppearanceRow(appearance);
|
||||
try
|
||||
{
|
||||
lock (database)
|
||||
{
|
||||
appearance.Owner = user;
|
||||
database.insertAppearanceRow(appearance);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
database.Reconnect();
|
||||
m_log.Error(e.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
override public void AddAttachment(LLUUID user, LLUUID item)
|
||||
|
||||
Reference in New Issue
Block a user