`fetchConfig` tries to await the DNS lookup
Categories
(MailNews Core :: Account Manager, defect)
Tracking
(thunderbird_esr68 fixed)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr68 | --- | fixed |
People
(Reporter: neil, Assigned: neil)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
|
4.58 KB,
patch
|
BenB
:
review+
pmorris
:
feedback+
mkmelin
:
approval-comm-esr68+
|
Details | Diff | Splinter Review |
All of the tasks fetchConfig spawns should run asynchronously and then the PriorityAbortable will then pick the best result. However to be able to do this properly all of the individual calls need to be added to it before any of them complete.
Bug 1349337 regressed this by making fetchConfig await the DNS lookup.
| Assignee | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Comment 3•6 years ago
•
|
||
Comment 4•6 years ago
|
||
(The review marker in the hg header is of course outdated now.)
Comment 5•6 years ago
|
||
I can fix that. In the future, please supply patches with 8 lines of context. Strangely the patch had a minor complaint when applying it: Hunk #2 succeeded at 413 with fuzz 1 (offset -5 lines). So I'm really wondering what codebase you're working on. In such cases I usually compare the original and refresh patches, but here it leads nowhere since the original doesn't have 8 lines of context.
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/6c065f72218c
Make DNS lookup completely asynchronous. r=BenB,pmorris
Updated•6 years ago
|
| Assignee | ||
Comment 7•6 years ago
|
||
(In reply to Jorg K from comment #5)
In the future, please supply patches with 8 lines of context.
I guess mq ignores my -U 8 default?
So I'm really wondering what codebase you're working on.
I was working on commit ef868ddafb00 but my mq had my patch to bug 1572467 applied (since it makes the bug more obvious), so you would have different results depending on whether that one hadn't landed or both it and its dependency landed.
| Assignee | ||
Comment 8•6 years ago
|
||
Folded patch as requested.
Comment 9•6 years ago
|
||
mercurial.ini
[diff]
git = 1
showfunc = 1
unified = 8
What's the new patch about? And requested where? I'm confused. I thought this bug was done?
Comment 10•6 years ago
|
||
@Jörg: I requested this patch in comment 3. It was for informational purposes only.
Updated•6 years ago
|
| Assignee | ||
Comment 11•6 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #9)
mercurial.ini
[diff] git = 1 showfunc = 1 unified = 8
Thanks, I'll try that.
Comment 12•6 years ago
|
||
No uplifts. Not applicable to 69 beta, 68 or 60, because it fixes a regression introduced by bug 1349337 in TB 70 only.
Comment 13•6 years ago
|
||
Updated•6 years ago
|
Comment 14•6 years ago
|
||
@Magnus: Thanks that you thought of backporting this along with bug 1349337.
Comment 15•6 years ago
|
||
Updated•6 years ago
|
Updated•5 years ago
|
Description
•