mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
make updater and analytics URLs human readable
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ from dvc.logger import logger
|
||||
|
||||
|
||||
class Analytics(object):
|
||||
URL = 'https://dddc07bh9f.execute-api.us-east-2.amazonaws.com/production'
|
||||
URL = 'https://analytics.dvc.org/'
|
||||
TIMEOUT_POST = 5
|
||||
|
||||
USER_ID_FILE = 'user_id'
|
||||
|
||||
+1
-2
@@ -11,8 +11,7 @@ from dvc.utils import is_binary
|
||||
|
||||
|
||||
class Updater(object): # pragma: no cover
|
||||
URL = 'https://4ki8820rsf.execute-api.us-east-2.amazonaws.com/' \
|
||||
'prod/latest-version'
|
||||
URL = 'https://updater.dvc.org/'
|
||||
UPDATER_FILE = 'updater'
|
||||
TIMEOUT = 24 * 60 * 60 # every day
|
||||
TIMEOUT_GET = 10
|
||||
|
||||
Reference in New Issue
Block a user