mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-14 01:00:05 +08:00
reduce userstats cron defaults, fix reference error
This commit is contained in:
@@ -179,9 +179,9 @@ class Settings(BaseSettings):
|
||||
|
||||
tree_manager: Optional[TreeManagerConfiguration] = TreeManagerConfiguration()
|
||||
|
||||
USER_STATS_INTERVAL_DAY: int = 15 # minutes
|
||||
USER_STATS_INTERVAL_WEEK: int = 60 # minutes
|
||||
USER_STATS_INTERVAL_MONTH: int = 120 # minutes
|
||||
USER_STATS_INTERVAL_DAY: int = 5 # minutes
|
||||
USER_STATS_INTERVAL_WEEK: int = 15 # minutes
|
||||
USER_STATS_INTERVAL_MONTH: int = 60 # minutes
|
||||
USER_STATS_INTERVAL_TOTAL: int = 240 # minutes
|
||||
|
||||
@validator(
|
||||
|
||||
@@ -481,6 +481,7 @@ class PromptRepository:
|
||||
task_id=task.id if task else None,
|
||||
)
|
||||
|
||||
message: Message = None
|
||||
if message_id:
|
||||
if not task:
|
||||
if text_labels.is_report is True:
|
||||
|
||||
Reference in New Issue
Block a user