Browse Source

Modified benchmark_config for lift-stateless to reflect correct sort order

Patrick Falls 12 years ago
parent
commit
b4386c8e67
2 changed files with 2 additions and 2 deletions
  1. 1 1
      lift-stateless/benchmark_config
  2. 1 1
      lift-stateless/setup.py

+ 1 - 1
lift-stateless/benchmark_config

@@ -7,7 +7,7 @@
       "db_url": "/db",
       "query_url": "/db/",
       "port": 8080,
-      "sort": 37
+      "sort": 45
     }
   }]
 }

+ 1 - 1
lift-stateless/setup.py

@@ -15,7 +15,7 @@ def stop():
   p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE)
   out, err = p.communicate()
   for line in out.splitlines():
-    if './run' in line:
+    if 'lift-stateless-assembly' in line and 'java' in line:
       pid = int(line.split(None, 2)[1])
       os.kill(pid, 9)
   return 0