~unity-team/unity-scopes-api/trunk

« back to all changes in this revision

Viewing changes to doc/tutorial.dox

  • Committer: Bileto Bot
  • Author(s): Marcus Tomlinson
  • Date: 2016-11-15 06:08:25 UTC
  • mfrom: (261.1.73 devel)
  • Revision ID: ci-train-bot@canonical.com-20161115060825-ylpq1yrsoc468prh
* Be stricter on user-configurable idle timeout (1s to 5min).
* Fix crash when reading scope metadata in a Turkish locale.
* Handle running inside a snap by using the $SNAP prefix.

Approved by: Michi Henning

Show diffs side-by-side

added added

removed removed

Lines of Context:
1560
1560
 
1561
1561
The `IdleTimeout` key controls how long a scope can remain idle before it is told to stop by the registry (or
1562
1562
killed if it does not stop within 4 seconds). The default idle timeout is 40 seconds, meaning that a
1563
 
scope will be told to stop if no query was sent to it for that amount of time.
 
1563
scope will be told to stop if no query was sent to it for that amount of time. Only values in the range 1 to
 
1564
300 seconds are accepted.
1564
1565
 
1565
1566
`ResultTtl` determines how long results should be cached by the UI before they are considered "stale"
1566
1567
and should be refreshed. `None` indicates that results remain valid indefinitely; `Small` indicates