Skip to content

Commit

Permalink
[CHORE] Update segment endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Chia committed Feb 20, 2024
1 parent 7973b32 commit 8ab774e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions daft/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from daft import context

_ANALYTICS_CLIENT = None
_WRITE_KEY = "opL9scJXH6GKdIYgPdA0ncCj8i920LJq"
_WRITE_KEY = "ZU2LLq6HFW0kMEY6TiGZoGnRzogXBUwa"
_SEGMENT_BATCH_ENDPOINT = "https://api.segment.io/v1/batch"


Expand All @@ -34,8 +34,8 @@ class AnalyticsEvent:


def _get_session_key():
# Restrict the cardinality of keys to 8000
return f"anon-{random.randint(1, 8000)}"
# Restrict the cardinality of keys to 800
return f"anon-{random.randint(1, 800)}"


def _build_segment_batch_payload(
Expand Down

0 comments on commit 8ab774e

Please sign in to comment.