Skip to content

Commit cf41b96

Browse files
committed
feat(analytics): reduce recent events limit and increase rebuild debounce
- Decreased RECENT_EVENTS_LIMIT from 1000 to 100 - Increased _REBUILD_DEBOUNCE_SECONDS from 1.5 to 10 chore: update naas-abi packages version and add langchain-aws dependency - Updated version of naas-abi, naas-abi-cli, naas-abi-core, naas-abi-marketplace - Added langchain-aws dependency to requirements
1 parent 8d39199 commit cf41b96

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

libs/naas-abi/naas_abi/apps/analytics/__init__.py

Whitespace-only changes.

libs/naas-abi/naas_abi/apps/nexus/apps/api/app/services/analytics/service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
REF_USERS_FILE = "ref-users.json"
6363
REF_WORKSPACES_FILE = "ref-workspaces.json"
6464

65-
RECENT_EVENTS_LIMIT = 1000
65+
RECENT_EVENTS_LIMIT = 100
6666

67-
_REBUILD_DEBOUNCE_SECONDS = 1.5
67+
_REBUILD_DEBOUNCE_SECONDS = 10
6868

6969
_CHAT_CONV_PATH_RE = re.compile(r"/chat/(conv-[^/?#]+)")
7070

uv.lock

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)