Configuration values¶
The following are the configuration variables of labdiscoverylib:
LabDiscoveryEngine¶
|
LabDiscoveryEngine credentials. It is not the username of the new user: it represents the system itself (e.g., the LabDiscoveryEngine system calling). Mandatory |
|
LabDiscoveryEngine credentials. Read also
|
|
LabDiscoveryEngine is connecting every few seconds
to the laboratory asking if the user is still
alive or if he left. By default, 5 seconds.
You can regulate it with this configuration
variable. Note that if you establish |
URLs¶
|
labdiscoverylib creates a set or URLs for
receiving methods directly by the user.
This methods must be publicly available by
the student. It can be |
|
If you want to start /weblab/sessions
somewhere else (e.g., |
|
If set to |
Redis¶
|
Url used for connecting to Redis. By
default it’s the database 0 with localhost
and standard port, but you can configure it:
|
|
If you use multiple laboratories in the same
server, you should give different values to
this configuration so there is no conflict
in Redis. If one is |
Session management¶
|
The name that the labdiscoverylib session will have in the Flask session object. |
|
Value in seconds taken by labdiscoverylib to consider a user expired if s/he hasn’t polled in this time. |
|
If |
|
Once the user is expired, the information is
kept in Redis for some time. By default, this
is |
|
When a user is not logged in (or the session
expired -after an hour-, by default finds an
|
|
Same as |
Processes and threading¶
|
By default |
|
By default |
|
Equivalent to |