Shorten prefix to 2 characters
Using 2 hex characters [0-9a-f] will give us 16 * 16 = 256 root folders which seems more manageable than 4096 (16^3). Assuming a user has 10,000 attachments, they should roughly distribute at ~40 per folder with prefix length 2 rather than ~2.5 per folder with a prefix of 3.pull/1/head
parent
2cd3d5ac16
commit
1262d1d696
Loading…
Reference in New Issue