Skip to content

add config option for messageIsLine#64

Open
cskiraly wants to merge 1 commit into
developfrom
message-is-line-3
Open

add config option for messageIsLine#64
cskiraly wants to merge 1 commit into
developfrom
message-is-line-3

Conversation

@cskiraly

Copy link
Copy Markdown
Contributor

easily switch between small (segment) messages and large (row/column) messages

This adds the messageIsLine meta config parameter which switch a number of scheduling options together.
Default is kept like before, with small messages

easily switch between small (segment) messages and
large (row/column) messages

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
Comment thread smallConf.py
messageIsLine = False
if messageIsLine:
# Message is line
perNodeQueue = "self.amIproposer" # keep a global queue of incoming messages for later sequential dispatch

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure to understand this option here. Why would the block proposer need this here and the others not?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not too intuitive, I know, but it is related to how we prepare the block for being pushed out from the proposer(producer): queueAllOnInit only influences the the proposer(producer). We need the perNodeQueue for queueAllOnInit to function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants