You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/02/10 22:49:14 UTC

[GitHub] [trafficserver] duke8253 commented on a change in pull request #7515: Replace psutil.pid() with psutil.process_iter() for safer execution

duke8253 commented on a change in pull request #7515:
URL: https://github.com/apache/trafficserver/pull/7515#discussion_r574134169



##########
File path: tests/gold_tests/thread_config/check_threads.py
##########
@@ -23,12 +23,11 @@
 
 def count_threads(ts_path, etnet_threads, accept_threads, task_threads, aio_threads):
 
-    for pid in psutil.pids():
+    for p in psutil.process_iter():

Review comment:
       done




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org