bug fix: use UtcNow in both places :)

LSLKeyTest
UbitUmarov 2016-08-01 00:35:48 +01:00
parent 159d722966
commit 8d5bc71a53
1 changed files with 2 additions and 2 deletions

View File

@ -2125,7 +2125,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
psh |= (ulong)pY & 0xffffff00ul; psh |= (ulong)pY & 0xffffff00ul;
lock (m_notFoundLocations) lock (m_notFoundLocations)
m_notFoundLocations[psh] = DateTime.Now + TimeSpan.FromSeconds(30);; m_notFoundLocations[psh] = DateTime.UtcNow + TimeSpan.FromSeconds(30);
} }
// Test to see of this point is in any of the 'not found' areas. // Test to see of this point is in any of the 'not found' areas.
// Return 'true' if the point is found inside the 'not found' areas. // Return 'true' if the point is found inside the 'not found' areas.
@ -2146,7 +2146,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
return false; return false;
} }
} }
private void DoExpiration() private void DoExpiration()
{ {
List<ulong> m_toRemove = new List<ulong>();; List<ulong> m_toRemove = new List<ulong>();;