Commit 079ac84
Kelvin Luck
fix: Apply same optimisation to
We were again grabbing _every_ uploaded revision in order to be
able to check if you were trying to overwrite a revision. This is slow
when you have many revisions uploaded to s3.
Here we prefer our new `findRevision` method which uses the
`Prefix` to load information about _just_ the revision we're interested
in.upload hook1 parent b8436dc commit 079ac84
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
0 commit comments