mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 18:25:55 +08:00
feat(workflow): add thread pool
This commit is contained in:
parent
166365a502
commit
5ca9df65de
@ -1,9 +1,8 @@
|
|||||||
from concurrent.futures import ThreadPoolExecutor, wait
|
|
||||||
import logging
|
import logging
|
||||||
import queue
|
import queue
|
||||||
import threading
|
|
||||||
import time
|
import time
|
||||||
from collections.abc import Generator, Mapping
|
from collections.abc import Generator, Mapping
|
||||||
|
from concurrent.futures import ThreadPoolExecutor, wait
|
||||||
from typing import Any, Optional
|
from typing import Any, Optional
|
||||||
|
|
||||||
from flask import Flask, current_app
|
from flask import Flask, current_app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user