Skip to content

Comments

Jg/semgrep 4#2738

Closed
trianglesphere wants to merge 5 commits intodevelopfrom
jg/semgrep_4
Closed

Jg/semgrep 4#2738
trianglesphere wants to merge 5 commits intodevelopfrom
jg/semgrep_4

Conversation

@trianglesphere
Copy link
Contributor

Description
A clear and concise description of the features you're adding in this pull request.

Additional context
Add any other context about the problem you're solving.

Metadata

  • Fixes #[Link to Issue]

@changeset-bot
Copy link

changeset-bot bot commented Jun 9, 2022

⚠️ No Changeset found

Latest commit: 7f3f273

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mergify
Copy link
Contributor

mergify bot commented Jun 9, 2022

This PR changes implementation code, but doesn't include a changeset. Did you forget to add one?

@mergify mergify bot requested review from Inphi and mslipper June 9, 2022 21:08
case <-ticker.C:
case <-time.After(100 * time.Millisecond):
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Leaky use of time.After in for-select (Lines 32-45)

🔴 Fix or ignore this finding to merge your pull request.
🙈 From dgryski.semgrep-go.timeafter.leaky-time-after.

select {
case <-ticker.C:
case <-time.After(s.cfg.PollInterval):
// Determine the range of L2 blocks that the submitter has not
Copy link
Contributor

Choose a reason for hiding this comment

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

Leaky use of time.After in for-select (Lines 105-171)

🔴 Fix or ignore this finding to merge your pull request.
🙈 From dgryski.semgrep-go.timeafter.leaky-time-after.

// price and publish a new transaction.
case <-ticker.C:
case <-time.After(m.cfg.ResubmissionTimeout):
// Avoid republishing if we are waiting for confirmation on an
Copy link
Contributor

Choose a reason for hiding this comment

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

Leaky use of time.After in for-select (Lines 208-235)

🔴 Fix or ignore this finding to merge your pull request.
🙈 From dgryski.semgrep-go.timeafter.leaky-time-after.

theochap pushed a commit that referenced this pull request Dec 10, 2025
Closes #2714 and #2713 

Dashboard preview:

<img width="1845" height="281" alt="Screenshot 2025-08-20 at 15 43 45"
src="https://github.com/user-attachments/assets/101c7cb2-f900-40fa-b708-6277930d11e2"
/>

This should also work with other Kona services.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant