Skip to content
Snippets Groups Projects
Commit 6ee2851f authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Only hit the database once for directory listings

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

Reviewers: anlambert, #reviewers!

Differential Revision: https://forge.softwareheritage.org/D337
parent d1d1419e
No related branches found
Tags v0.0.130
1 merge request!48Only hit the database once for directory listings
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