jack hai 1 semana
pai
achega
1f3f4bd9da
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/providers/r2r.py

+ 2 - 2
app/providers/r2r.py

@@ -23,7 +23,7 @@ class R2R:
         if not self.auth_enabled:
             return
         if not self.client_sync:
-            self.client_sync = R2RClient(tool_settings.R2R_BASE_URL, "/v3")
+            self.client_sync = R2RClient(tool_settings.R2R_BASE_URL, 300)
             self.client_sync.users.login(
                 tool_settings.R2R_USERNAME, tool_settings.R2R_PASSWORD
             )
@@ -38,7 +38,7 @@ class R2R:
         if not self.auth_enabled:
             return
         if not self.client:
-            self.client = R2RAsyncClient(tool_settings.R2R_BASE_URL, "/v3")
+            self.client = R2RAsyncClient(tool_settings.R2R_BASE_URL, 300)
         print(
             "1111111111111111111111111111111122222vvdgdfdf" + tool_settings.R2R_USERNAME
         )