improve package.json + comment unused job queue

This commit is contained in:
Jamie Pine 2022-03-31 20:31:49 -07:00
parent a047887395
commit ad01e0d553
2 changed files with 14 additions and 20 deletions

View file

@ -23,7 +23,7 @@ pub trait Job: Send + Sync + Debug {
// jobs struct is maintained by the core
pub struct Jobs {
job_queue: Vec<Box<dyn Job>>,
// job_queue: Vec<Box<dyn Job>>,
// workers are spawned when jobs are picked off the queue
running_workers: HashMap<String, Arc<Mutex<Worker>>>,
}
@ -31,7 +31,7 @@ pub struct Jobs {
impl Jobs {
pub fn new() -> Self {
Self {
job_queue: vec![],
// job_queue: vec![],
running_workers: HashMap::new(),
}
}

View file

@ -2,24 +2,6 @@
"name": "spacedrive",
"version": "0.0.0",
"private": true,
"workspaces": {
"nohoist": [
"**/react-native",
"**/react-native/**",
"**/@react-native-*",
"**/@react-native-*/**",
"**/react-native-*",
"**/react-native-*/**",
"**/expo",
"**/expo/**",
"**/@expo",
"**/@expo/**",
"**/expo-*",
"**/expo-*/**",
"**/metro-*",
"**/metro-*/**"
]
},
"scripts": {
"prep": "pnpm db:gen && pnpm core codegen && pnpm build-packages",
"build-packages": "pnpm client build && pnpm ui build",
@ -66,5 +48,17 @@
"npm": "pnpm",
"yarn": "pnpm",
"node": ">=14.0.0"
},
"workspaces": {
"nohoist": [
"**/react-native",
"**/react-native/**",
"**/@react-native-*",
"**/@react-native-*/**",
"**/react-native-*",
"**/react-native-*/**",
"**/metro-*",
"**/metro-*/**"
]
}
}