indexer.storage: Make add/del endpoints sum up added objects count
This will allow to send metrics at some point.
Showing
- sql/upgrades/131.sql 223 additions, 0 deletionssql/upgrades/131.sql
- swh/indexer/sql/30-swh-schema.sql 1 addition, 1 deletionswh/indexer/sql/30-swh-schema.sql
- swh/indexer/sql/40-swh-func.sql 76 additions, 59 deletionsswh/indexer/sql/40-swh-func.sql
- swh/indexer/storage/__init__.py 71 additions, 26 deletionsswh/indexer/storage/__init__.py
- swh/indexer/storage/db.py 36 additions, 17 deletionsswh/indexer/storage/db.py
- swh/indexer/storage/in_memory.py 56 additions, 26 deletionsswh/indexer/storage/in_memory.py
- swh/indexer/storage/interface.py 43 additions, 11 deletionsswh/indexer/storage/interface.py
- swh/indexer/tests/storage/test_storage.py 55 additions, 11 deletionsswh/indexer/tests/storage/test_storage.py
Loading
Please register or sign in to comment