[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
offload configuration dependant on context
From: |
zimoun |
Subject: |
offload configuration dependant on context |
Date: |
Thu, 16 Dec 2021 14:24:57 +0100 |
Hi,
For nomadic people as I sometime am, they have sometimes access to
offload build machine, sometimes not. To be concrete,
1. when build machine is reachable, I want to *always* offload;
2. when build machine is not reachable, I accept to burn some CPU.
Well, I can tweak /etc/machines.scm as proposed there [1] to detect
reachable machine.
However, #1 implies daemon option ’--max-jobs=0’ and #2 implies other
daemon configuration as ’--max-jobs=1 --cores=2’. How could I achieve
that? Dynamically speaking.
1: <https://issues.guix.gnu.org/issue/24496#3>
Cheers,
simon
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- offload configuration dependant on context,
zimoun <=