Commit cccfe10
Update fs_bucket.rb
Previously, this code was querying all IDs in the collection and storing them in an array. This is very inefficient and causes a long delay when inserting a file into fs.files, especially when the system is under a heavy load.1 parent 715a582 commit cccfe10
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
| 441 | + | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| |||
0 commit comments