From 404301dd0b8bb3c753f684988416edddc16600d7 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 31 Jan 2023 16:12:45 +0800 Subject: [PATCH] reflect improvements in cargo --- publish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish.py b/publish.py index 81cf2451d..2a6e7a036 100644 --- a/publish.py +++ b/publish.py @@ -325,7 +325,7 @@ def main(): continue print("Process failed, waiting for crates.io to update and retrying...") - time.sleep(20) + time.sleep(2) # the latest Cargo seems to fix this problem # just try running it again try: subprocess.run(cmd, cwd=path, check=True)