From db44942894cd0094b05010703b34206e21280560 Mon Sep 17 00:00:00 2001 From: Dmitry Afanasyev Date: Mon, 14 Mar 2022 13:44:51 +0300 Subject: [PATCH] increase mirror time inteval --- core/repo_creator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/repo_creator.py b/core/repo_creator.py index af9b643..80bb51a 100644 --- a/core/repo_creator.py +++ b/core/repo_creator.py @@ -43,7 +43,7 @@ class RepositoryCreator: # name of repository will generate automatically from link name = url.split('/')[-1].replace('.git', '') - update_time = random.randint(48, 96) # prevent update all repos at the same time + update_time = random.randint(120, 580) # prevent update all repos at the same time git_data = {'repo_name': name, "wiki": True, "private": False, 'mirror_interval': f'{update_time}h0m0s', "mirror": True, "lfs": True, "clone_addr": url} if group_name: