Skip to content

Commit 0d5d438

Browse files
committed
fix heatmap mode
1 parent e678678 commit 0d5d438

File tree

2 files changed

+678
-676
lines changed

2 files changed

+678
-676
lines changed

workers/deserializer.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ export default class MainDSWorker extends HyperionWorker {
562562
}
563563
}
564564

565-
let selected_q = 0;
565+
let selected_q = 1;
566566
const _code = first_action.act.account;
567567

568568
switch (this.conf.scaling.routing_mode) {
@@ -593,6 +593,7 @@ export default class MainDSWorker extends HyperionWorker {
593593
}
594594
}
595595
}
596+
selected_q += 1;
596597
break;
597598
}
598599
case "round_robin": {
@@ -611,6 +612,7 @@ export default class MainDSWorker extends HyperionWorker {
611612

612613
const pool_queue = `${this.chain}:ds_pool:${selected_q}`;
613614
if (this.ch_ready) {
615+
// console.log('selected_q', pool_queue);
614616
this.ch.sendToQueue(pool_queue, bufferFromJson(trace, true), {headers});
615617
return true;
616618
} else {

0 commit comments

Comments
 (0)