Skip to content
Snippets Groups Projects
Commit 9aa6ddfc authored by David Douard's avatar David Douard
Browse files

api/sync: allow to configure requests for pool size and retries

by default:
- increase the connection pool size and
- set retry to 3 (number of retries each connection should attempt).

These config params can be set directly from config files for 'remote'
api clients. For example, to specify these in an objstorage client
config file:

  objstorage:
    cls: remote
    args:
      url: swh-objstorage:5003
      max_retries: 5
      pool_connections: 100
parent 9d6aed30
No related branches found
Tags swh-objstorage-20250326.1
1 merge request!62api/sync: allow to configure requests for pool size and retries
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment