File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,8 +75,11 @@ def tableExistsThread():
7575 iolock .release ()
7676
7777 if conf .threads > 1 :
78- debugMsg = "starting %d thread%s " % ( conf .threads , ( "s" if conf . threads > 1 else "" ))
78+ debugMsg = "starting %d threads " % conf .threads
7979 logger .debug (debugMsg )
80+ else :
81+ warnMsg = "running in a single-thread mode. this could take a while."
82+ logger .warn (warnMsg )
8083
8184 # Start the threads
8285 for numThread in range (conf .threads ):
@@ -172,8 +175,11 @@ def columnExistsThread():
172175 iolock .release ()
173176
174177 if conf .threads > 1 :
175- debugMsg = "starting %d thread%s " % ( conf .threads , ( "s" if conf . threads > 1 else "" ))
178+ debugMsg = "starting %d threads " % conf .threads
176179 logger .debug (debugMsg )
180+ else :
181+ warnMsg = "running in a single-thread mode. this could take a while."
182+ logger .warn (warnMsg )
177183
178184 # Start the threads
179185 for numThread in range (conf .threads ):
You can’t perform that action at this time.
0 commit comments