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:
Laurent Tréguier 2021-04-16 19:41:19 +02:00 committed by GitHub
parent 6d0bdc2f38
commit 9eb29a6d47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)