Awasu 2.1.1.alpha1

Individual script timeouts

Awasu is extremely extensible and can be configured to call scripts at various times. These scripts can now have individually-configurable timeout settings (previously they all used a single global value, set in Advanced tab of the Program Options dialog).

In the discussion below, all timeout values are in seconds. A value of 0 means "use the default global setting", a value of -1 means "no timeout" (the use of this is highly discouraged!). Individual settings override any global setting, if no setting is found then the Program Options global value will be used.

Plugin channels

Scripts can be called to dynamically generate an RSS feed rather than retrieving them from a web server. These are known as plugin channels and can have configuration parameters defined in a .PLUGIN file.

A global script timeout value can be specified that will apply to all instances of the channel:

    [PluginParameterDefinition-nnn]
    Name=ScriptTimeout
    Type=int
    DefaultValue=nnn
    Description=Global script timeout.

Channels can also have individual script timeouts, configurable via a per-channel parameter:

    [ChannelParameterDefinition-nnn]
    Name=ScriptTimeout
    Type=int
    DefaultValue=nnn
    Description=Script timeout.

Application plugins

The functionality of Awasu can be extended via application plugins that appear in the Plugins tab of the Control Center. Scripted application plugins can have a global timeout parameter defined in their .PLUGIN file:
    [PluginParameterDefinition-nnn]
    Name=ScriptTimeout
    Type=int 
    DefaultValue=nnn
    Description=Global script timeout.

If the app plugin allows for and services channels, they can also have individual script timeouts,configurable via a per-channel parameter:

    [ChannelParameterDefinition-nnn]
    Name=ScriptTimeout
    Type=int
    DefaultValue=nnn
    Description=Script timeout.

Channel hooks

Channels can also have scripts attached to them that are invoked when events happen e.g. the channel is updated or new content is received. These are known as channel hooks. Channel hooks can also have parameters defined in their .HOOK file, including a global script timeout parameter:
    [GlobalChannelHookParameterDefinition-nnn]
    Name=ScriptTimeout
    Type=int
    DefaultValue=nnn
    Description=Global script timeout.

Specific instances of a channel hook can also have individual script timeouts, configurable via a per-instance parameter:

    [ChannelHookParameterDefinition-nnn]
    Name=ScriptTimeout
    Type=int
    DefaultValue=nnn
    Description=Script timeout.