Phonebot properties

From EtherWiki
Jump to: navigation, search

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.