|
|
@@ -161,9 +161,9 @@ class Settings:
|
|
|
wxindex_llm_max_tokens: int = 4000
|
|
|
wxindex_api_url: str = "http://crawapi.piaoquantv.com/crawler/wei_xin/wxindex"
|
|
|
wxindex_lookback_days: int = 7
|
|
|
- wxindex_words_cron_hour: int = 10
|
|
|
+ wxindex_words_cron_hours: str = "10,14"
|
|
|
wxindex_words_cron_minute: int = 0
|
|
|
- wxindex_heat_pattern_cron_hour: int = 11
|
|
|
+ wxindex_heat_pattern_cron_hours: str = "11,15"
|
|
|
wxindex_heat_pattern_cron_minute: int = 0
|
|
|
demand_event_sense_threshold: float = 6.0
|
|
|
demand_senior_fit_threshold: float = 6.0
|
|
|
@@ -347,17 +347,17 @@ class Settings:
|
|
|
"WXINDEX_LOOKBACK_DAYS",
|
|
|
defaults.wxindex_lookback_days,
|
|
|
),
|
|
|
- wxindex_words_cron_hour=_env_int(
|
|
|
- "WXINDEX_WORDS_CRON_HOUR",
|
|
|
- defaults.wxindex_words_cron_hour,
|
|
|
+ wxindex_words_cron_hours=_env(
|
|
|
+ "WXINDEX_WORDS_CRON_HOURS",
|
|
|
+ defaults.wxindex_words_cron_hours,
|
|
|
),
|
|
|
wxindex_words_cron_minute=_env_int(
|
|
|
"WXINDEX_WORDS_CRON_MINUTE",
|
|
|
defaults.wxindex_words_cron_minute,
|
|
|
),
|
|
|
- wxindex_heat_pattern_cron_hour=_env_int(
|
|
|
- "WXINDEX_HEAT_PATTERN_CRON_HOUR",
|
|
|
- defaults.wxindex_heat_pattern_cron_hour,
|
|
|
+ wxindex_heat_pattern_cron_hours=_env(
|
|
|
+ "WXINDEX_HEAT_PATTERN_CRON_HOURS",
|
|
|
+ defaults.wxindex_heat_pattern_cron_hours,
|
|
|
),
|
|
|
wxindex_heat_pattern_cron_minute=_env_int(
|
|
|
"WXINDEX_HEAT_PATTERN_CRON_MINUTE",
|