touch user model after scanning posts

This commit is contained in:
Dylan Knutson
2025-08-12 23:15:19 +00:00
parent 1357eb9095
commit 6bb0b255fb

View File

@@ -30,6 +30,7 @@ class Domain::Bluesky::Job::ScanPostsJob < Domain::Bluesky::Job::Base
scan_user_posts(user)
user.last_posts_scan_log_entry = first_log_entry
user.touch
logger.info(format_tags("completed posts scan"))
ensure
user.save! if user