Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix
Browse files
app.py
CHANGED
@@ -233,7 +233,7 @@ async def give_verified_roles():
|
|
233 |
|
234 |
thread_pool_executor = ThreadPoolExecutor(max_workers=2)
|
235 |
asyncio_executor = AsyncIOExecutor()
|
236 |
-
scheduler =
|
237 |
'default': thread_pool_executor,
|
238 |
'asyncio': asyncio_executor
|
239 |
})
|
|
|
233 |
|
234 |
thread_pool_executor = ThreadPoolExecutor(max_workers=2)
|
235 |
asyncio_executor = AsyncIOExecutor()
|
236 |
+
scheduler = AsyncIOScheduler(executors={
|
237 |
'default': thread_pool_executor,
|
238 |
'asyncio': asyncio_executor
|
239 |
})
|