Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-678: Create a Message Scheduler (#249)
* Actor StreamHandlerPool and friends renamed to NeighborStreamHandlerPool * More cleanup renaming * One more... * code formatting * Big method is broken into three; needs more * Big match statement is broken into three methods. Possibly more to come. * Doesn't work; StreamStarter needs to be split and renamed * Closer, but still doesn't work * Make success and failure handler inside the open_new_stream_and_recycle_message * Modify the way we return results * Rename function name and variable * Changed an error message * Appeased clippy * Appeased formatter * master-commented: Corrected TODO comment * GH-677: add the comment over stream_handler_pool, to make it easier to differentiate from the other * GH-677: revert the rename to StreamHandlerPool * GH-677: revert the rename to StreamHandlerPoolSubs * GH-677: revert the rename to StreamHandlerPoolCluster * GH-677: revert the name from NeighborPublicKey to Key inside the enum Endpoint * GH-677: rename the filename from neighbor_stream_handler_pool.rs to stream_handler_pool.rs * GH-677: rename NeighborStreamHandlerPool to StreamHandlerPool at other places * GH-677: revert rename in the reamining places * GH-677: rename in crash_command.rs * GH-677: change the debug to an error * GH-677: remove the comment 'way to big' * GH-678: initialize ScheduleMessage * GH-678: send a message succusfully * GH-678: rename the name to MessageScheduler * GH-678: introduce the schedule_msg as a field * GH-678: reorder imports * GH-678: fix the Send build error with schedule msg * GH-678: use the generic Message Type for the MessageScheduler * GH-679: add the ability to send the schedule msg * GH-678: integrate the message scheduler with the old code * GH-678: remove unnecessary bounds from the MessageScheduler * GH-678: code cleanup * GH-678: remove the NotifyHandler field from StreamHandlerPool * GH-678: make the handler for the MessageScheduler generic * GH-678: use ctx for notify later instead of NotifyHandlerReal * GH-678: formatting fixes * GH-678: migrate MessageScheduler to the messages.rs * GH-678: Review 1 Changes (#253) * feat: migrate MessageScheduler to the sub_lib/utils.rs * feat: rename to scheduled_msg * GH-678: rename duration to delay * GH-678: rename the name of the sub * GH-678: add a todo for the procedural macro card * GH-678: rename to scheduled_node_query_response_sub * GH-678: migrate the MessageScheduler handler for Recorder after the recorder_message_handler implementaions --------- Co-authored-by: Dan Wiebe <[email protected]>
- Loading branch information