ed9fb224f3aa4336d066cbbe4b9abf26b24f8535,python/edl/utils/watcher.py,Watcher,_watcher,#Watcher#,58
Before Change
new_cluster.from_json(ranks)
if len(new_cluster.pods) == 0:
time.sleep(1)
continue
After Change
new_cluster.from_json(value)
with self._lock:
self._new_cluster = new_cluster
if self._is_world_changed():
break
with self._lock:
// update the cluster info.
self._cluster = copy.copy(self._new_cluster)
time.sleep(3)
@property
def changed(self):
with self._lock:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: PaddlePaddle/edl
Commit Name: ed9fb224f3aa4336d066cbbe4b9abf26b24f8535
Time: 2020-09-02
Author: weibao.gong@gmail.com
File Name: python/edl/utils/watcher.py
Class Name: Watcher
Method Name: _watcher
Project Name: vatlab/SoS
Commit Name: 3e7caaa9c1f40929f69a2062e2054159b60af75d
Time: 2017-04-16
Author: ben.bog@gmail.com
File Name: sos/sos_task.py
Class Name: TaskEngine
Method Name: run
Project Name: luyishisi/Anti-Anti-Spider
Commit Name: 95bda804c2d02ecbe824b5e7f9849baf395da03d
Time: 2017-01-04
Author: admin@copie.cn
File Name: 6.爬虫项目源码/9.gs.amac.org.cn/shimu.py
Class Name:
Method Name: