Fix small comment typo (#2112)
We probably don't need to fall back on "polling" when setting up an asyncio loop
This commit is contained in:
parent
6d0bdc2f38
commit
9eb29a6d47
@ -784,7 +784,7 @@ def reformat_many(
|
||||
except (ImportError, OSError):
|
||||
# we arrive here if the underlying system does not support multi-processing
|
||||
# like in AWS Lambda or Termux, in which case we gracefully fallback to
|
||||
# a ThreadPollExecutor with just a single worker (more workers would not do us
|
||||
# a ThreadPoolExecutor with just a single worker (more workers would not do us
|
||||
# any good due to the Global Interpreter Lock)
|
||||
executor = ThreadPoolExecutor(max_workers=1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user