Merged in fix/update-jobylon-cache-time (pull request #3361)

fix: change Jobylon cache from 1d to 1h

* fix: change Jobylon cache from 1d to 1h


Approved-by: Linus Flood
This commit is contained in:
Matilda Landström
2025-12-17 09:12:45 +00:00
parent 5c8e205c03
commit 0a89ed6f4f

View File

@@ -5,8 +5,6 @@ import { router } from "../../.."
import { publicProcedure } from "../../../procedures"
import { jobylonFeedSchema } from "./output"
export const TWENTYFOUR_HOURS = 60 * 60 * 24
// The URL for the Jobylon feed including the hash for the specific feed.
// The URL and hash are generated by Jobylon. Documentation: https://developer.jobylon.com/feed-api
const feedUrl =
@@ -59,7 +57,7 @@ export const jobylonQueryRouter = router({
return validatedResponse.data
},
"1d"
"1h"
)
metricsJobylonFeedGet.success()