refactor & remove delay

- move duplication in recipe streaming
- remove unnessecary delay when sending back to client
- increase chunk size from 100 to 200

Signed-off-by: Pakin <pakin.t@forth.co.th>
This commit is contained in:
Pakin 2026-03-05 09:31:33 +07:00
parent 377b0df681
commit 8cdba50c40
3 changed files with 322 additions and 245 deletions

View file

@ -11,8 +11,10 @@ celes = "2.6.0"
chrono = "0.4.43"
crossbeam-queue = "0.3.12"
dotenv = "0.15.0"
env_logger = "0.11.9"
futures = "0.3.32"
libtbr = { git = "https://pakin-inspiron-15-3530.tail110d9.ts.net/pakin/libtbr.git", version = "0.1.1" }
log = "0.4.29"
rayon = "1.11.0"
redis = { version = "1.0.2", features = ["tokio-comp"] }
reqwest = "0.13.1"