diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs | 8 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs index 15604dc..036130d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs | |||
@@ -50,10 +50,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
50 | ILease lease = (ILease)base.InitializeLifetimeService(); | 50 | ILease lease = (ILease)base.InitializeLifetimeService(); |
51 | if (lease.CurrentState == LeaseState.Initial) | 51 | if (lease.CurrentState == LeaseState.Initial) |
52 | { | 52 | { |
53 | //lease.InitialLeaseTime = TimeSpan.Zero; | 53 | lease.InitialLeaseTime = TimeSpan.Zero; |
54 | lease.InitialLeaseTime = TimeSpan.FromMinutes(1); | 54 | // lease.InitialLeaseTime = TimeSpan.FromMinutes(1); |
55 | lease.SponsorshipTimeout = TimeSpan.FromMinutes(2); | 55 | // lease.SponsorshipTimeout = TimeSpan.FromMinutes(2); |
56 | lease.RenewOnCallTime = TimeSpan.FromSeconds(2); | 56 | // lease.RenewOnCallTime = TimeSpan.FromSeconds(2); |
57 | } | 57 | } |
58 | return lease; | 58 | return lease; |
59 | } | 59 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index e664fb0..dccd143 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -210,9 +210,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
210 | "SecondLife.Script"); | 210 | "SecondLife.Script"); |
211 | 211 | ||
212 | // Add a sponsor to the script | 212 | // Add a sponsor to the script |
213 | ISponsor scriptSponsor = new ScriptSponsor(); | 213 | // ISponsor scriptSponsor = new ScriptSponsor(); |
214 | ILease lease = (ILease)RemotingServices.GetLifetimeService(m_Script as MarshalByRefObject); | 214 | // ILease lease = (ILease)RemotingServices.GetLifetimeService(m_Script as MarshalByRefObject); |
215 | lease.Register(scriptSponsor); | 215 | // lease.Register(scriptSponsor); |
216 | //m_ScriptSponsor = scriptSponsor; | 216 | //m_ScriptSponsor = scriptSponsor; |
217 | 217 | ||
218 | } | 218 | } |