-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
hacktoberfestGood hacktoberfest/first issueGood hacktoberfest/first issue
Description
Files displayed on the My Files and Gallery page are sorted in reverse by the TTL of each file in redis.
Because multiple file are uploaded at the same time (and the TTL is the same), but we issue multiple requests to redis to determine the TTL, so the TTL changes as we check each element. This means the order of the files changes each time we request the list.
To avoid this we should sort by a more deterministic attribute.
To Reproduce:
- Upload 10 files at once.
- Navigate to the "My Files" page
- Observe the order of the files that are being displayed on the page
- Reload the page and compare the order of the files.
- Rinse an repeat 4 as needed to observe inconsistent order of data.
Metadata
Metadata
Assignees
Labels
hacktoberfestGood hacktoberfest/first issueGood hacktoberfest/first issue