Skip to content

Commit ebae0b2

Browse files
committed
updated find_active_server.py
1 parent f5e1a0e commit ebae0b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

find_active_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
sys.exit(4)
139139

140140
__author__ = 'Hari Sekhon'
141-
__version__ = '0.8.1'
141+
__version__ = '0.8.2'
142142

143143

144144
class FindActiveServer(CLI):
@@ -155,7 +155,7 @@ def __init__(self):
155155
self.url_path = None
156156
self.regex = None
157157
self.request_timeout = None
158-
self.default_num_threads = max(cpu_count() * 4, 100)
158+
self.default_num_threads = min(cpu_count() * 4, 100)
159159
self.num_threads = None
160160
self.queue = Queue.Queue()
161161
self.pool = None

0 commit comments

Comments
 (0)