mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-09-13 13:55:24 +00:00
fix(types,blahd): reject timestamps > i64::MAX
This commit is contained in:
parent
c4fbf1294b
commit
a38b59da84
5 changed files with 27 additions and 12 deletions
|
@ -41,6 +41,8 @@ max_page_len = 1024
|
|||
max_request_len = 4096
|
||||
|
||||
# The maximum timestamp tolerance in seconds for request validation.
|
||||
# NB. This should be small enough to reject timestamps overflowing `i64`,
|
||||
# otherwise it may cause panics.
|
||||
timestamp_tolerance_secs = 90
|
||||
|
||||
[server.feed]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue