20 Commits

Author SHA1 Message Date
8abb83e4e3 feat: inject debug_params into dspy env; add gitignore for build artifacts 2026-05-29 12:06:41 +08:00
574ef00881 perf: static file fast path + remove info() log on every request
- Add fast path in processorResource._handle() for static assets (.js/.css/.png/.jpg/.gif/.ico/.svg/.woff etc)
  Static files skip auth closures, i18n, url2processor, isHtml overhead
- Remove info() call in checkAuth() middleware that logged on EVERY request
  (was causing disk flush on every request, blocking the async event loop)
- Log output now only uses debug() for timecost, exception() for errors
2026-05-26 13:18:32 +08:00
a691774afd fix: optimize isHtml() to read only first 512 bytes instead of entire file
Changed from reading full file content to reading first 512 bytes in
binary mode, significantly improving static file serving performance
for large files like echarts.min.js (1MB+).

Before: async with aiofiles.open(fn,'r',encoding='utf-8') as f: b = await f.read()
After:  async with aiofiles.open(fn,'rb') as f: b = await f.read(512)
2026-05-26 09:27:58 +08:00
f9d751484b bugfix 2026-02-11 11:47:43 +08:00
534ea845c3 bugfix 2025-12-19 14:23:22 +08:00
7b26fc47ca bugfix 2025-12-19 14:22:06 +08:00
5700082e64 bugfix 2025-12-19 14:19:47 +08:00
45e6719f69 bugfix 2025-12-18 18:00:56 +08:00
9f4907d758 bugfix 2025-12-18 17:14:08 +08:00
cdc5aecd90 bugfix 2025-12-18 16:20:47 +08:00
a0c05d58f4 bugfix 2025-12-18 16:16:36 +08:00
391287e353 bugfix 2025-12-16 12:00:07 +08:00
20f880ebed bugfix 2025-12-11 11:39:40 +08:00
ed28b759d2 bugfix 2025-12-11 11:37:29 +08:00
f4a6eb111b bugfix 2025-12-11 11:34:40 +08:00
375831185b Merge branch 'main' of git.opencomputing.cn:yumoqing/ahserver 2025-11-05 17:56:25 +08:00
2881257d09 bugfix 2025-11-05 17:55:58 +08:00
666854a198 bugfix 2025-10-23 22:52:56 +08:00
3564624ef1 bugfix 2025-08-30 00:32:53 +08:00
0b2584d6aa first commit 2025-07-16 14:18:40 +08:00