Skip to content

Commit 395af49

Browse files
committed
fix(mu): remove HB_PROCESSES result from the MU
1 parent 2557f79 commit 395af49

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

servers/mu/src/domain/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ export const createApis = async (ctx) => {
197197
console.error('Error updating hb processes file', err)
198198
return {}
199199
})
200-
processesFile = { HB_PROCESSES: json.hb_processes || {}, PROCESSES: json.processes || {} }
200+
// disable result from HB_PROCESSES because it is happening in the cu router
201+
processesFile = { HB_PROCESSES: {} || {}, PROCESSES: json.processes || {} }
201202
console.log('Updated processes file')
202203
}, { runOnInit: true })
203204

@@ -515,7 +516,8 @@ export const createResultApis = async (ctx) => {
515516
console.error('Error updating hb processes file', err)
516517
return {}
517518
})
518-
processesFile = { HB_PROCESSES: json.hb_processes || {}, PROCESSES: json.processes || {} }
519+
// disable result from HB_PROCESSES because it is happening in the cu router
520+
processesFile = { HB_PROCESSES: {} || {}, PROCESSES: json.processes || {} }
519521
console.log('Updated processes file')
520522
}, { runOnInit: true })
521523

servers/su/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct FromTo {
2626
to: Option<String>,
2727
limit: Option<i32>,
2828
#[serde(rename = "process-id")]
29-
process_id: String,
29+
process_id: Option<String>,
3030
#[serde(rename = "from-nonce")]
3131
from_nonce: Option<String>,
3232
#[serde(rename = "to-nonce")]

0 commit comments

Comments
 (0)