4dfc719192396ee993e1eb23d3820fa420fb3bbc,QUANTAXIS/QATask/QA_Queue_standard.py,QA_Queue,run,#QA_Queue#,70

Before Change


                QA_util_log_info("From Engine==="+str(datetime.datetime.now()))

            except:
                QA_util_log_info("Task has been finished!")
                self.thread_stop = True
                break
            self.queue.task_done()  // 完成一个任务
            res = self.__QA_queue_status()  // 判断消息队列大小

After Change


            self.queue.task_done()  // 完成一个任务
            res = self.__QA_queue_status()  // 判断消息队列大小
            if res > 0:
                QA_util_log_info("From Engine %s: There are still %d tasks to do" % (str(threading.current_thread()),res))

    def stop(self):
        self.thread_stop = True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 48290e9520adc01a1199928ed8f48f6705fbcd41
Time: 2018-05-31
Author: 604829050@qq.com
File Name: QUANTAXIS/QAFetch/QAQuery.py
Class Name:
Method Name: QA_fetch_stock_day


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 4113a6a3be19167a8c551f8ae20e849ac851e52c
Time: 2019-03-25
Author: zhongjy1992@outlook.com
File Name: QUANTAXIS/QAFetch/QAQuery.py
Class Name:
Method Name: QA_fetch_index_day