Update blob entry handling and enhance staging configuration

- Changed the staging server port from 3000 to 3001 in the Procfile for better port management.
- Introduced a new BlobEntry model to replace BlobEntryP, ensuring a more consistent data structure across the application.
- Updated various controllers and views to utilize the new BlobEntry model, enhancing data retrieval and rendering processes.
- Added a new BlobEntriesController to manage blob entries, including a show action for retrieving content based on SHA256.
- Enhanced the Rakefile to enqueue periodic jobs for updating posts, improving background processing capabilities.
- Updated routes to reflect the new BlobEntry model and ensure proper resource handling.
- Improved tests for blob entry functionality, ensuring robust coverage and reliability in data handling.
This commit is contained in:
Dylan Knutson
2024-12-30 19:35:27 +00:00
parent 2681502c3e
commit 15c11b2b89
41 changed files with 608 additions and 168 deletions

View File

@@ -42,6 +42,10 @@ task periodic_tasks: %i[environment set_logger_stdout] do
Rake::Task["fa:browse_page_job"].execute
Rake::Task["fa:home_page_job"].execute
Rake::Task["e621:posts_index_job"].execute
Domain::Inkbunny::Job::UpdatePostsJob.set(
queue: "inkbunny",
priority: -20,
).perform_later({})
puts "enqueue periodic jobs"
sleep 1.minute
end