extra server on stten1/4/14 tbt
This commit is contained in:
parent
141e1361bb
commit
f3b19fd32b
@ -46,6 +46,7 @@ class ArchiveSynchronizer(Component):
|
||||
|
||||
self._do_set_period({"period": float(self.config[self.name]["poll_time"])})
|
||||
self.hold_time = round(float(self.config[self.name]["hold_time"]) * 1000)
|
||||
if self.name == "archive_synchronizer":
|
||||
self.gcs_client = storage.Client.from_service_account_json(self.config[self.name]["service_account_json"])
|
||||
self.gcs_client._http.mount("", HTTPAdapter(max_retries=Retry(total=0))) # this seems to be useless
|
||||
self.gcs_client._http.adapters.move_to_end("", last=False) # this seems to be useless
|
||||
|
||||
Loading…
Reference in New Issue
Block a user