作者 陈俊学

增加change线程锁

去除超时时间
@@ -4,5 +4,5 @@ SERVER: @@ -4,5 +4,5 @@ SERVER:
4 reconnect_interval: 3 4 reconnect_interval: 3
5 5
6 VERSION: 6 VERSION:
7 - code: 91  
8 - name: 2.0.1  
  7 + code: 92
  8 + name: 2.0.2
@@ -86,8 +86,8 @@ class Monitor(callback.CallBack): @@ -86,8 +86,8 @@ class Monitor(callback.CallBack):
86 return client.info() 86 return client.info()
87 else: 87 else:
88 try: 88 try:
89 - self.onChangEnv(email, 'waiting', '排队中')  
90 - self.changeLock.acquire(timeout=120) # 设置超时释放时间为120秒 89 + self.onChangEnv(email, 'waiting', '队列中...')
  90 + self.changeLock.acquire()
91 self.changeingIn(email) # 转环境的话清理缓存 91 self.changeingIn(email) # 转环境的话清理缓存
92 result, email, password, cookie, user_agent = self.selenium_login(email, password, cookie) 92 result, email, password, cookie, user_agent = self.selenium_login(email, password, cookie)
93 if result: 93 if result: