Skip to content

Commit

Permalink
allow old rake task to work for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Dann Bohn committed Jan 9, 2024
1 parent ca0d800 commit 314974c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM jruby:9.4.2.0
WORKDIR /app
ARG UID=3000
ARG UID=1000

ENV BUNDLE_PATH=/app/vendor/bundle

Expand Down
5 changes: 5 additions & 0 deletions lib/tasks/traject.rake
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ namespace :traject do
PsulibTraject::Workers::IncrementalIndexer.perform_now
end

desc 'Run incrementals as hourlies'
task :hourlies do
PsulibTraject::Workers::IncrementalIndexer.perform_now
end

desc 'Clear redis of incremental skip list'
task :clear_incrementals do
current_collection = PsulibTraject::SolrManager.new.current_collection
Expand Down

0 comments on commit 314974c

Please sign in to comment.