Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Sep 19, 2024
1 parent 39ac978 commit 18e05fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app/services/activitypub/fetch_replies_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def call(parent_status, collection_or_uri, allow_synchronous_requests: true, req

FetchReplyWorker.push_bulk(filtered_replies) { |reply_uri| [reply_uri, { 'request_id' => request_id, 'all_replies' => @all_replies }] }
# Store last fetched all to debounce
@status.update(fetched_replies_at: Time.now.utc) if fetch_all_replies?
@status.touch(:fetched_replies_at)

@items
end
Expand Down
2 changes: 0 additions & 2 deletions db/migrate/20240918233930_add_fetched_replies_at_to_status.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# frozen_string_literal: true

class AddFetchedRepliesAtToStatus < ActiveRecord::Migration[7.1]
disable_ddl_transaction!

def change
add_column :statuses, :fetched_replies_at, :datetime, null: true
end
Expand Down

0 comments on commit 18e05fd

Please sign in to comment.