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:
4
Rakefile
4
Rakefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user