You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ChannelBrokerState.clean_inactive_respondents/1 function is meant to cleanup the inactive respondents, yet it takes a list of active respondents and the :collect_garbage handler of the channel-broker load all active respondents, and we must always load all of them (e.g. we can't paginate).
The logic should be reversed. Loading only the list of inactive respondents would load less respondent ids and allow to do the cleanups in batches.
The
ChannelBrokerState.clean_inactive_respondents/1
function is meant to cleanup the inactive respondents, yet it takes a list of active respondents and the:collect_garbage
handler of the channel-broker load all active respondents, and we must always load all of them (e.g. we can't paginate).The logic should be reversed. Loading only the list of inactive respondents would load less respondent ids and allow to do the cleanups in batches.
See #2297 (comment)
The text was updated successfully, but these errors were encountered: