diff options
author | Melanie Thielker | 2008-11-29 07:10:00 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-29 07:10:00 +0000 |
commit | 1952a67ceb3f239d4f55656f1ca55de590556265 (patch) | |
tree | 8828b0688e1690d0534c356ff5590fbf4ecfffb4 /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Stop attachments from twisting away. Thismakes attachments phantom, which (diff) | |
download | opensim-SC_OLD-1952a67ceb3f239d4f55656f1ca55de590556265.zip opensim-SC_OLD-1952a67ceb3f239d4f55656f1ca55de590556265.tar.gz opensim-SC_OLD-1952a67ceb3f239d4f55656f1ca55de590556265.tar.bz2 opensim-SC_OLD-1952a67ceb3f239d4f55656f1ca55de590556265.tar.xz |
Comment the ScriptSponsor and restore the indefinite lifetime for
scripts until that can be better debugged
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs | 8 |
1 files changed, 4 insertions, 4 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 | } |