In KERIA, the Respondant processes certain cues for a kevery, but it drops other cues like keyStateSaved and Phil has suggested this to be the safest change to make to resolve the issue.
Since we are pushing the cue back onto the Deck, I needed to process one item per tock instead of looping the entire Deck and then yielding. An alternative is to keep another list of items and re-add them all after while self.cues is finished but I find this risky in case there are a lot of items and the process dies half way through.
Should resolve https://github.com/WebOfTrust/keria/issues/184.
In KERIA, the Respondant processes certain cues for a kevery, but it drops other cues like
keyStateSaved
and Phil has suggested this to be the safest change to make to resolve the issue.Since we are pushing the cue back onto the Deck, I needed to process one item per tock instead of looping the entire Deck and then yielding. An alternative is to keep another list of items and re-add them all after
while self.cues
is finished but I find this risky in case there are a lot of items and the process dies half way through.