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

swarm: instrument setNextBatch#1381

Merged
nonsense merged 6 commits intoswarm-rather-stablefrom
add-sub-pull-logging
May 9, 2019
Merged

swarm: instrument setNextBatch#1381
nonsense merged 6 commits intoswarm-rather-stablefrom
add-sub-pull-logging

Conversation

@acud
Copy link
Copy Markdown
Contributor

@acud acud commented May 9, 2019

No description provided.

@acud acud requested a review from nonsense May 9, 2019 06:09
@acud acud self-assigned this May 9, 2019
@acud acud changed the title swarm/network: instrument setNextBatch swarm: instrument setNextBatch, disable pushIndex May 9, 2019
@acud acud force-pushed the add-sub-pull-logging branch from de17a2c to f575ba8 Compare May 9, 2019 06:31
Comment thread swarm/network/stream/syncer.go Outdated

defer func() {
tdiff := time.Since(batchStart)
metrics.GetOrRegisterResettingTimer("syncer.set-next-batch.total-time", nil).Update(tdiff)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You have UpdateSince, so no need for tdiff.

@acud acud force-pushed the add-sub-pull-logging branch from 036e9f9 to ed52898 Compare May 9, 2019 08:50
@nonsense nonsense changed the title swarm: instrument setNextBatch, disable pushIndex swarm: instrument setNextBatch May 9, 2019
@acud acud force-pushed the add-sub-pull-logging branch from ed52898 to acc2dd7 Compare May 9, 2019 08:52
@acud
Copy link
Copy Markdown
Contributor Author

acud commented May 9, 2019

@nonsense done 👍

@nonsense nonsense merged commit a2f0bca into swarm-rather-stable May 9, 2019
@acud acud deleted the add-sub-pull-logging branch May 9, 2019 08:54
nonsense pushed a commit that referenced this pull request May 10, 2019
nonsense pushed a commit that referenced this pull request May 10, 2019
nonsense pushed a commit that referenced this pull request May 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants