Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 108599 Details for
Bug 164363
emerge --sync is not using round-robin--it always chooses the same server
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
shuffle the ip addresses returned from socket.getaddrinfo()
ip_shuffle.patch (text/plain), 403 bytes, created by
Zac Medico
on 2007-01-30 08:13:50 UTC
(
hide
)
Description:
shuffle the ip addresses returned from socket.getaddrinfo()
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-01-30 08:13:50 UTC
Size:
403 bytes
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 5832) >+++ bin/emerge (working copy) >@@ -3843,6 +3843,8 @@ > ips.append("[%s]" % addrinfo[4][0]) > else: > ips.append(addrinfo[4][0]) >+ from random import shuffle >+ shuffle(ips) > except SystemExit, e: > raise # Needed else can't exit > except Exception, e:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 164363
: 108599