mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
ask 2.5% of users to opt-in to analytics
This commit is contained in:
parent
49ce9e1209
commit
7a34a2dfa9
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class Analytics:
|
||||||
if not self.user_id:
|
if not self.user_id:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
PERCENT = 1
|
PERCENT = 2.5
|
||||||
return self.is_uuid_in_percentage(self.user_id, PERCENT)
|
return self.is_uuid_in_percentage(self.user_id, PERCENT)
|
||||||
|
|
||||||
def is_uuid_in_percentage(self, uuid_str, percent):
|
def is_uuid_in_percentage(self, uuid_str, percent):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue