infinitepush: don't force ipv6 while connecting to mysql server
Facebook internally enforces this but looks like we can't force this for pur
users.
Differential Revision: https://phab.mercurial-scm.org/D2992
--- a/hgext/infinitepush/sqlindexapi.py Sat Mar 31 14:33:37 2018 +0530
+++ b/hgext/infinitepush/sqlindexapi.py Sat Mar 31 10:13:05 2018 -0700
@@ -60,8 +60,7 @@
retry = 3
while True:
try:
- self.sqlconn = mysql.connector.connect(
- force_ipv6=True, **self.sqlargs)
+ self.sqlconn = mysql.connector.connect(**self.sqlargs)
# Code is copy-pasted from hgsql. Bug fixes need to be
# back-ported!