The prefs in GLOBAL_PREFS::defaults() are in effect
only until the client makes its first scheduler RPC.
They're permissive so that this RPC can actually occur.
-- David
Nicolás Alvarez wrote:
> The default preferences on the project side are to suspend computing
> while on batteries:
>
> function default_prefs_global() {
> $p = null;
> $p->suspend_while_on_batteries = true;
> [...]
> }
>
> The default preferences on the client side are to run while on batteries:
>
> void GLOBAL_PREFS::defaults() {
> run_on_batteries = true;
> run_if_user_active = true;
> run_gpu_if_user_active = false;
> [...]
> }
>
> Why is this? I'm *sure* it would cause confusion. It may cause a
> different default depending on where you touch preferences first, how
> you create the account...
>
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.