Increase model pull retry delay and attempts

Raised the base delay for model pull retries from 1s to 3s and updated log output to show seconds instead of milliseconds. Also increased the number of retries for model pull in integration tests from 3 to 5 to improve robustness.
This commit is contained in:
amithkoujalgi
2025-08-30 17:04:02 +05:30
parent de379d73b2
commit c705432510
2 changed files with 4 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ class OllamaAPIIntegrationTest {
}
api.setRequestTimeoutSeconds(120);
api.setVerbose(true);
api.setNumberOfRetriesForModelPull(3);
api.setNumberOfRetriesForModelPull(5);
}
@Test