Difference between revisions of "Phonebot properties"
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | '''Auto-start''' configures one or more applications to start when Phonebot starts. If more than one are selected, a menu will display first. When only one application is selected, its [[Phonebot developer's reference/Object reference/Using Phonebot services#Object_reference|autostart system services]] will be started whenever the device is rebooted. | ||
+ | |||
'''Cache''' configures when scripts are parsed when running an application. Applications with long scripts run more responsively if they are compiled before use. The settings are: | '''Cache''' configures when scripts are parsed when running an application. Applications with long scripts run more responsively if they are compiled before use. The settings are: | ||
Latest revision as of 23:16, 28 October 2012
Auto-start configures one or more applications to start when Phonebot starts. If more than one are selected, a menu will display first. When only one application is selected, its autostart system services will be started whenever the device is rebooted.
Cache configures when scripts are parsed when running an application. Applications with long scripts run more responsively if they are compiled before use. The settings are:
- Compile on each use - Turn of compiler caching
- On demand (default) - Compile and cache scripts the first time they run, use the cache on subsequent runs
- Precompile on module open - Compile and cache every script in a module when the module first opens
- Precompile on application open - Compile and cache every script in an application when the application first opens
Timeout configures the longest that a script can run. If a script runs longer that the timeout, Phonebot will end execution on the current statement.
Sensor buffer configures the maximum number of sensor events that will be retained in the sensor service queue. When the queue is filled and new events are added, the oldest events will be deleted from the queue.
Retention configures the maximum number of log messages that will be kept across all applications.