Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylJonny committed Nov 6, 2024
1 parent 0869d5a commit eb986ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def is_ge_profiling(self) -> bool:

@pydantic.validator("start_time")
def within_thirty_days(cls, v: datetime) -> datetime:
if (datetime.now(timezone.utc) - v).days > 30:
if (datetime.now(timezone.utc) - v).days > 365:
raise ValueError("Query history is only maintained for 30 days.")
return v

Expand Down

0 comments on commit eb986ff

Please sign in to comment.