Add rate limit for editing (#17728)
This commit is contained in:
parent
803f536cdd
commit
b2cd34474b
5 changed files with 11 additions and 5 deletions
|
@ -131,7 +131,7 @@ class UpdateStatusService < BaseService
|
|||
|
||||
return if @status.edits.any?
|
||||
|
||||
@status.snapshot!(at_time: @status.created_at)
|
||||
@status.snapshot!(at_time: @status.created_at, rate_limit: false)
|
||||
end
|
||||
|
||||
def create_edit!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue