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:
Emi Matchu 2021-04-03 14:29:37 -07:00
parent df71a16354
commit a73427af1e

View file

@ -28,7 +28,7 @@ const typeDefs = gql`
# This item's capsule trade value as text, according to wakaguide.com, as a # 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 # human-readable string. Will be null if the value is not known, or if
# there's an error connecting to the data source. # there's an error connecting to the data source.
wakaValueText: String wakaValueText: String @cacheControl(maxAge: ${oneHour})
currentUserOwnsThis: Boolean! @cacheControl(scope: PRIVATE) currentUserOwnsThis: Boolean! @cacheControl(scope: PRIVATE)
currentUserWantsThis: Boolean! @cacheControl(scope: PRIVATE) currentUserWantsThis: Boolean! @cacheControl(scope: PRIVATE)