Add 1-hour caching to wakaValueText
One day is too long! I'd prefer 1min for just the value itself, but I don't want to bog down all the other metadata with it, it's not _essential_ for it to be faster.
This commit is contained in:
parent
df71a16354
commit
a73427af1e
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ const typeDefs = gql`
|
|||
# This item's capsule trade value as text, according to wakaguide.com, as a
|
||||
# human-readable string. Will be null if the value is not known, or if
|
||||
# there's an error connecting to the data source.
|
||||
wakaValueText: String
|
||||
wakaValueText: String @cacheControl(maxAge: ${oneHour})
|
||||
|
||||
currentUserOwnsThis: Boolean! @cacheControl(scope: PRIVATE)
|
||||
currentUserWantsThis: Boolean! @cacheControl(scope: PRIVATE)
|
||||
|
|
Loading…
Reference in a new issue