Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Greptile SummaryThis PR adds unit documentation ("in minutes") to the
No behavioral changes — this is purely a documentation and readability improvement. Confidence Score: 5/5
Important Files Changed
Last reviewed commit: 7f4f994 |
| privacy_request_delay_timeout: int = Field( | ||
| default=3600, | ||
| description="The amount of time to wait for actions which delay privacy requests (e.g., pre- and post-processing webhooks).", | ||
| description="The amount of time to wait, in minutes, for actions which delay privacy requests (e.g., pre- and post-processing webhooks). Default: 3600 minutes", | ||
| ) |
There was a problem hiding this comment.
Default of 3600 minutes seems suspect
The description now states the unit is minutes with a default of 3600 — that's 60 hours (2.5 days). The old docstring on is_callback_token_expired claimed this was "24 hours," which would be 1440 minutes, not 3600.
Is it possible this value was originally intended to be in seconds (3600 seconds = 1 hour)? If the unit truly is minutes, the default seems very large and the previous "24 hours" comment was wrong. Could you confirm the intended timeout duration and adjust either the default value or the unit accordingly?
There was a problem hiding this comment.
Yes, the original comment was wrong. It always would have been wrong since the value has always been configurable. I'm not going to change it from 60 hours given that it's now expected behavior by anyone relying on these.
|
@greptileai pls rereview |
Ticket ENG-2720
Description Of Changes
Adds units to configuration setting.
Code Changes
Created a variable so that code intent is clear with less thinking.
Steps to Confirm
Pre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works