diff --git a/distgit_bugzilla_sync/script.py b/distgit_bugzilla_sync/script.py index db64e92..8d545f5 100644 --- a/distgit_bugzilla_sync/script.py +++ b/distgit_bugzilla_sync/script.py @@ -114,6 +114,7 @@ def segment(iterable, chunk, fill=None): class BugzillaProxy: + def __init__(self, bz_server, username, password, config, pre_cache_users=True): self.bz_xmlrpc_server = bz_server self.username = username @@ -168,9 +169,9 @@ class BugzillaProxy: raise if self.config["verbose"]: print(f" ERROR {e}") - print(" - Query failed, going to try again in 20 seconds") - # Wait 20 seconds and try again - time.sleep(20) + print(" - Query failed, going to try again in 10 seconds") + # Wait 10 seconds and try again + time.sleep(10) return raw_data if self.config["bugzilla"]["compat_api"] == "getcomponentsdetails":