winery: add support for the application_name PostgreSQL setting
This helped track down the various connection leaks that this code was subject to when the benchmarks would run.
Showing
- swh/objstorage/backends/winery/database.py 16 additions, 4 deletionsswh/objstorage/backends/winery/database.py
- swh/objstorage/backends/winery/objstorage.py 11 additions, 2 deletionsswh/objstorage/backends/winery/objstorage.py
- swh/objstorage/backends/winery/roshard.py 4 additions, 1 deletionswh/objstorage/backends/winery/roshard.py
- swh/objstorage/backends/winery/rwshard.py 10 additions, 3 deletionsswh/objstorage/backends/winery/rwshard.py
- swh/objstorage/backends/winery/sharedbase.py 10 additions, 2 deletionsswh/objstorage/backends/winery/sharedbase.py
- swh/objstorage/backends/winery/throttler.py 5 additions, 1 deletionswh/objstorage/backends/winery/throttler.py
- swh/objstorage/tests/winery_benchmark.py 28 additions, 6 deletionsswh/objstorage/tests/winery_benchmark.py
Loading
Please register or sign in to comment