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:
@@ -5,8 +5,6 @@ import { router } from "../../.."
|
|||||||
import { publicProcedure } from "../../../procedures"
|
import { publicProcedure } from "../../../procedures"
|
||||||
import { jobylonFeedSchema } from "./output"
|
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 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
|
// The URL and hash are generated by Jobylon. Documentation: https://developer.jobylon.com/feed-api
|
||||||
const feedUrl =
|
const feedUrl =
|
||||||
@@ -59,7 +57,7 @@ export const jobylonQueryRouter = router({
|
|||||||
|
|
||||||
return validatedResponse.data
|
return validatedResponse.data
|
||||||
},
|
},
|
||||||
"1d"
|
"1h"
|
||||||
)
|
)
|
||||||
|
|
||||||
metricsJobylonFeedGet.success()
|
metricsJobylonFeedGet.success()
|
||||||
|
|||||||
Reference in New Issue
Block a user