From 1952a67ceb3f239d4f55656f1ca55de590556265 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sat, 29 Nov 2008 07:10:00 +0000 Subject: Comment the ScriptSponsor and restore the indefinite lifetime for scripts until that can be better debugged --- OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api') 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 ILease lease = (ILease)base.InitializeLifetimeService(); if (lease.CurrentState == LeaseState.Initial) { - //lease.InitialLeaseTime = TimeSpan.Zero; - lease.InitialLeaseTime = TimeSpan.FromMinutes(1); - lease.SponsorshipTimeout = TimeSpan.FromMinutes(2); - lease.RenewOnCallTime = TimeSpan.FromSeconds(2); + lease.InitialLeaseTime = TimeSpan.Zero; +// lease.InitialLeaseTime = TimeSpan.FromMinutes(1); +// lease.SponsorshipTimeout = TimeSpan.FromMinutes(2); +// lease.RenewOnCallTime = TimeSpan.FromSeconds(2); } return lease; } -- cgit v1.1