Skip to content

Commit

Permalink
make random time less random for cache performance
Browse files Browse the repository at this point in the history
  • Loading branch information
rohangpta committed Aug 23, 2023
1 parent 5a3f683 commit eea9f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export const SearchBarOptionItem = ({
searchCallback((inpt) => ({
...inpt,
[param]: order,
seed: new Date().getTime().toString(),
seed: Math.floor(new Date().getTime() / 1000000).toString(),
}))
}
/>
Expand Down

0 comments on commit eea9f61

Please sign in to comment.