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
Let's avoid querying the per_relay_parent map again and again if we can pass it as a param to the function. it saves us some superfluous error handling that is already handled a level above. Originally posted by @alindima in Collation fetching fairness #4880 (comment)
we should also rework the fetching timeouts. they are currently still firing even if the fetch was successful.
we probably also want to cancel the fetch if it timed out?
For further refactoring:
Collations
fetching_from really should be a part of the CollationStatus::Fetching() status variant Originally posted by @alindima in https://github.com/paritytech/polkadot-sdk/pull/4880/files#r1860614933unfulfilled_claim_queue_entries
and the code inensure_seconding_limit_is_respected
). Instead keepClaimQueueState
for all paths inState
, keep them up to date by marking seconded and pending canddiates accordingly, and have it ready for use when needed. - https://github.com/paritytech/polkadot-sdk/pull/4880/files#r1861728429 and https://github.com/paritytech/polkadot-sdk/pull/4880/files#r1861727967The text was updated successfully, but these errors were encountered: