Closed NKcqx closed 1 year ago
2 comments:
- Add a unit test.
- PR title should be updated to get more detailed, like "Fix repeated sessions bug." or some thing related to what you concretely do.
Thx for the suggestions ~!
Please address the conflicts before merging~
The send queue won't be cleared when shutting down rayfed, the message left in the queue may be read in the next session, i.e. the next time calling
fed.init
, which is one of the reason what happened in this issueNote that this PR couldn't completely fix that problem because there're also flying request after
fed.shutdown
, will open another PR.