diff --git a/Dockerfile b/Dockerfile index 953f75c..39447a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM jruby:9.4.2.0 WORKDIR /app -ARG UID=3000 +ARG UID=1000 ENV BUNDLE_PATH=/app/vendor/bundle diff --git a/lib/tasks/traject.rake b/lib/tasks/traject.rake index f0f65a0..211ad1e 100644 --- a/lib/tasks/traject.rake +++ b/lib/tasks/traject.rake @@ -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