Page MenuHomeSoftware Heritage

Only hit the database once for directory listings
ClosedPublic

Authored by olasd on May 31 2018, 6:29 PM.

Details

Summary

We used to call the database twice for directory listings. We now
special-case the empty directory, which allows us to only call the database
once, saving one round trip on the most used query.

Test Plan

Unit tests updated

Diff Detail

Repository
rDWAPPS Web applications
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1240
Build 1584: arc lint + arc unit