feat(uidScoreStore): increase redis timeout for uid-score keys from 3h to 24h
This commit is contained in:
parent
7b66b30309
commit
da35e0f623
@ -2,7 +2,7 @@ import { redis, xcxApi } from '../utils/server';
|
|||||||
|
|
||||||
const getKey = (uid: string) => `my-kaiqiuwang:uid-score:${uid}`;
|
const getKey = (uid: string) => `my-kaiqiuwang:uid-score:${uid}`;
|
||||||
|
|
||||||
const TIMEOUT = 60 * 60 * 3; // 3H;
|
const TIMEOUT = 60 * 60 * 24; // 24h;
|
||||||
|
|
||||||
export const getUidScore = async (uids: string[]): Promise<Record<string, string>> => {
|
export const getUidScore = async (uids: string[]): Promise<Record<string, string>> => {
|
||||||
const jobs = uids.map(async uid => {
|
const jobs = uids.map(async uid => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user