mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-22 06:47:56 +01:00
State commit
This commit is contained in:
parent
03ff3fcf86
commit
b543b3b80d
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "diflouroborane"
|
name = "diflouroborane"
|
||||||
version = "0.4.0"
|
version = "0.4."
|
||||||
authors = [ "dequbed <me@dequbed.space>"
|
authors = [ "dequbed <me@dequbed.space>"
|
||||||
, "Kai Jan Kriegel <kai@kjkriegel.de>"
|
, "Kai Jan Kriegel <kai@kjkriegel.de>"
|
||||||
, "Joseph Langosch <thejoklla@gmail.com>"
|
, "Joseph Langosch <thejoklla@gmail.com>"
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit d5ffd3c2b36eecf250639d11c51045740504c2f0
|
Subproject commit 5b88b6446c55833a1c1340cd5b7fe9fcb992b872
|
@ -11,3 +11,17 @@ passwd = "secret"
|
|||||||
# You can add whatever random data you want.
|
# You can add whatever random data you want.
|
||||||
# It will get stored in the `kv` field in UserData.
|
# It will get stored in the `kv` field in UserData.
|
||||||
noot = "noot!"
|
noot = "noot!"
|
||||||
|
|
||||||
|
[Differentuser]
|
||||||
|
# Define them in roles.toml as well
|
||||||
|
roles = ["somerole/internal", "testrole/internal"]
|
||||||
|
|
||||||
|
# If two or more users want to use the same machine at once the higher prio
|
||||||
|
# wins
|
||||||
|
priority = 0
|
||||||
|
|
||||||
|
passwd = "secret"
|
||||||
|
|
||||||
|
# You can add whatever random data you want.
|
||||||
|
# It will get stored in the `kv` field in UserData.
|
||||||
|
noot = "noot!"
|
||||||
|
@ -31,6 +31,7 @@ pub mod load_balancer;
|
|||||||
pub mod placement;
|
pub mod placement;
|
||||||
pub mod pool;
|
pub mod pool;
|
||||||
pub mod run;
|
pub mod run;
|
||||||
|
pub mod manage;
|
||||||
mod thread_manager;
|
mod thread_manager;
|
||||||
mod worker;
|
mod worker;
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ impl Spooler<'_> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
|
/// Global executor
|
||||||
pub struct Executor<'a> {
|
pub struct Executor<'a> {
|
||||||
spooler: Arc<Spooler<'a>>,
|
spooler: Arc<Spooler<'a>>,
|
||||||
}
|
}
|
||||||
@ -220,4 +221,4 @@ fn schedule_local() -> impl Fn(LightProc) {
|
|||||||
// We have to unpark the worker thread for our task to be run.
|
// We have to unpark the worker thread for our task to be run.
|
||||||
unparker.unpark();
|
unparker.unpark();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user