Refetch some data on an interval (#2114)
* Match refetch intervals to stale time * Lower refetch interval for own-profile
This commit is contained in:
parent
47771b9066
commit
a924df4dcd
5 changed files with 17 additions and 4 deletions
|
@ -5,6 +5,10 @@ export const PUBLIC_BSKY_AGENT = new BskyAgent({
|
|||
})
|
||||
|
||||
export const STALE = {
|
||||
SECONDS: {
|
||||
FIFTEEN: 1e3 * 15,
|
||||
THIRTY: 1e3 * 30,
|
||||
},
|
||||
MINUTES: {
|
||||
ONE: 1e3 * 60,
|
||||
FIVE: 1e3 * 60 * 5,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue