• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-4534
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Unassigned
Reporter: Tali Rosca
Votes: 4
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Defer script delay until next execution of command

Created: 12/Jul/09 01:32 PM   Updated: 12/Jul/09 01:35 PM
Return to search
Component/s: Scripts
Affects Version/s: 1.26 Server
Fix Version/s: None

Environment: N/A
Issue Links:
Relates
 


 Description  « Hide
Script delay is primarily intended to slow down continued use of "expensive" commands, to prevent "spamming" of updates.
Often, a script needs to invoke one of these "expensive" commands a single time, and then continue to run its normal operation. In cases where the imposed script delay is practically not acceptable, it just forces the sub-optimal use of slave scripts and message passing; it does nothing to actually limit the use of the command.

I propose that the delay is deferred until the next time the command is called, and then take place before the command executes. That would, for example, allow a script to send a single email and continue it's normal running. Only if llEmail was called again inside the normal 20 second period would the script be delayed, based on the remaining time in the "quarantine period".

This would overall preserve the general semantics of the delay, but mitigate the excessive use of slave scripts.

The delay should probably be based on groups of functionality, based on the resource they potentially "spam". (So people don't, for example, switch between llSetPos and llSetPrimitiveParams to get around it).

I have seen many discussions on script delay, but didn't find this version, so I thought I'd throw it in.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.