c8a0366e929578b4d87024dc7f57b30dd873a87d,QUANTAXIS/QATask/QA_Queue_standard.py,QA_Queue,run,#QA_Queue#,79

Before Change


                        threading.current_thread()) + "Engine will waiting for new task ...")

            except:
                QA_util_log_info("From Engine %s" % str(
                    threading.current_thread()) + "Task has been finished!")
                //self.thread_stop = True
                break
            self.queue.task_done()  // 完成一个任务

After Change


                    else:
                        QA_util_log_info("From Engine %s" % str(threading.current_thread()) 
                         + "Engine will waiting for new task ...")
                        time.sleep(1)
                except:
                    time.sleep(1)
                    self.run()
                res = self.__QA_queue_status()  // 判断消息队列大小
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: c8a0366e929578b4d87024dc7f57b30dd873a87d
Time: 2017-07-03
Author: yutiansut@qq.com
File Name: QUANTAXIS/QATask/QA_Queue_standard.py
Class Name: QA_Queue
Method Name: run


Project Name: dPys/PyNets
Commit Name: 3507c7d8d500e2c7e20572136b1549e16ccb5082
Time: 2018-06-25
Author: dpisner@utexas.edu
File Name: pynets/graphestimation.py
Class Name:
Method Name: extract_ts_parc


Project Name: dPys/PyNets
Commit Name: 3507c7d8d500e2c7e20572136b1549e16ccb5082
Time: 2018-06-25
Author: dpisner@utexas.edu
File Name: pynets/graphestimation.py
Class Name:
Method Name: extract_ts_coords