Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

pushsync: split sync to chunksWorker and receiptsWorker #1881

Merged
merged 4 commits into from
Oct 23, 2019
Merged

Conversation

janos
Copy link
Member

@janos janos commented Oct 16, 2019

These are cherry picked changes on pusher from obsolete PR #1857.

@janos janos self-assigned this Oct 16, 2019
@janos janos added this to Backlog in Swarm Core - Sprint planning via automation Oct 16, 2019
@nonsense nonsense self-requested a review October 23, 2019 13:53
if !delayResponse() {
return nil
}
// if !delayResponse() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete this?

}
// finish span for pushsync roundtrip, only have this span if we have a tag
item.span.Finish()
//go func(ch chunk.Chunk) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commented code

@nonsense
Copy link
Contributor

Great stuff, thanks, Janos.

Once this gets merged, we should benchmark master, and see how to amend the sendChunkMsg call, as PSS is still non-blocking, and we are not handling the error returned.

@janos
Copy link
Member Author

janos commented Oct 23, 2019

Thank you, Anton. This is a joint effort. :)

@nonsense nonsense self-requested a review October 23, 2019 14:25
@janos janos merged commit 10f1122 into master Oct 23, 2019
Swarm Core - Sprint planning automation moved this from Backlog to Done Oct 23, 2019
@janos janos deleted the pushsync-pusher branch October 23, 2019 16:00
@acud acud added this to the 0.5.3 milestone Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants