winery: Only run database administration operations once per process
By keeping track of created databases, created tables, and connection pools, we cut down drastically on the admin operations performed while the code is running.
Showing
- swh/objstorage/backends/winery/database.py 50 additions, 17 deletionsswh/objstorage/backends/winery/database.py
- swh/objstorage/backends/winery/rwshard.py 0 additions, 3 deletionsswh/objstorage/backends/winery/rwshard.py
- swh/objstorage/backends/winery/sharedbase.py 1 addition, 0 deletionsswh/objstorage/backends/winery/sharedbase.py
- swh/objstorage/backends/winery/throttler.py 3 additions, 5 deletionsswh/objstorage/backends/winery/throttler.py
Please register or sign in to comment