You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chajia/lib/constants/session-confirm-queue.ts

12 lines
395 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/** 地址确认 job 结果 Redis 键前缀 */
export const SESSION_CONFIRM_RESULT_PREFIX = "quote-session:confirm:result:";
/** 确认 job 结果 TTL */
export const SESSION_CONFIRM_RESULT_TTL_SECONDS = 120;
/** API 轮询间隔(毫秒) */
export const SESSION_CONFIRM_POLL_MS = 400;
/** 地址确认 RPA 上限(毫秒) */
export const SESSION_CONFIRM_TIMEOUT_MS = 240_000;