trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From masa...@apache.org
Subject [trafficserver] branch master updated: Remove multiprocessing.Queue.qsize() from traffic_replay
Date Wed, 15 Nov 2017 00:48:05 GMT
This is an automated email from the ASF dual-hosted git repository.

masaori pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 626f589  Remove multiprocessing.Queue.qsize() from traffic_replay
626f589 is described below

commit 626f58977b9e0854b00e44b8230160c7458dc0b1
Author: Masaori Koshiba <masaori@apache.org>
AuthorDate: Tue Nov 14 09:07:45 2017 +0900

    Remove multiprocessing.Queue.qsize() from traffic_replay
    
    Because this raise NotImplementedError on Unix platforms like Mac OS X.
    Details in below.
    http://python.readthedocs.io/en/stable/library/multiprocessing.html#multiprocessing.Queue.qsize
---
 tests/tools/traffic-replay/Scheduler.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/tools/traffic-replay/Scheduler.py b/tests/tools/traffic-replay/Scheduler.py
index 6e36ea6..f34ebfd 100644
--- a/tests/tools/traffic-replay/Scheduler.py
+++ b/tests/tools/traffic-replay/Scheduler.py
@@ -47,7 +47,6 @@ def LaunchWorkers(path, nProcess, proxy, replay_type, nThread):
         # if QList[0].qsize() > 10 :
         #    break
     #=============================================== Launch Processes
-    print("size", QList[0].qsize())
     for i in range(nProcess):
         QList[i].put('STOP')
     for i in range(nProcess):

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message