Skip to content

Commit c4e5216

Browse files
committed
disable chrome's dns flushing
1 parent 14f076e commit c4e5216

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dref/scripts/src/libs/session.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ export default class Session {
7878
} else {
7979
// flush Chrome's DNS cache - a bit less fast rebinding without the
8080
// fastRebind mode overhead
81-
for (let i = 0; i < 1024; i++) {
82-
let url = 'http://' + i + '.' + window.env.domain
83-
fetch(url, { mode: 'no-cors' })
84-
}
81+
// for (let i = 0; i < 1024; i++) {
82+
// let url = 'http://' + i + '.' + window.env.domain
83+
// fetch(url, { mode: 'no-cors' })
84+
// }
8585
}
8686
}
8787
})

0 commit comments

Comments
 (0)