From 106c2cdca05ffe089a1ee3482ba8ff29174b128a Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 2 Mar 2022 13:10:57 +0800 Subject: [PATCH] taskset -c 3 --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index e4f2b47..309ab80 100755 --- a/server.py +++ b/server.py @@ -29,7 +29,7 @@ import sys #api_caller = pexpect.spawn("sudo -E taskset -c 3 python3 api_caller.py") -api_caller = pexpect.spawn("sudo -E python3 database_caller.py") +api_caller = pexpect.spawn("sudo -E taskset -c 3 python3 database_caller.py") time.sleep(3)