-
Notifications
You must be signed in to change notification settings - Fork 591
perf: Move request inspection outside of the executor #3356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
653abb1
to
9005464
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3356 +/- ##
==========================================
- Coverage 98.03% 98.01% -0.03%
==========================================
Files 402 402
Lines 11109 11084 -25
Branches 1754 1755 +1
==========================================
- Hits 10891 10864 -27
- Misses 218 220 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
0db0eba
to
797d795
Compare
const fetchPromise = fetch(input, { | ||
...init, | ||
signal: abortController.signal, | ||
}); | ||
await notify({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving this so fetch can start before waiting for the notification to land
Moved some of the ideas from #3356 to this PR which will be a simple to merge right away. The other referenced PR needs some more work, but is eventually what we should do. This PR let's Snaps start their outbound request before waiting for the notification to land, this should be a small perf improvement to all requests made from the Snap.
No description provided.