예제 #1
0
파일: perf_hier.py 프로젝트: ciju/perf-hier
 def enqueue(cls, req):
     """Call it to get all the needed params from the logging request.
     """
     widx = cls.FJ_Queue.next_index()
     logging.info(Dimentions.get_stats(req))
     Data(data=json.dumps(Dimentions.get_stats(req)), work_index=widx).put()
     cls.FJ_Queue.add(widx)
     return