Skip to content

Commit

Permalink
EDM-480-499/Increase worker timeout and reduce batch load size for up…
Browse files Browse the repository at this point in the history
…load (#1282)

* Increase worker timeout and reduce batch load size for upload

* Remove dev settings for puma timeout
  • Loading branch information
jefftmarks authored Jan 7, 2025
1 parent f6883b1 commit a1a1c20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
# value is 60 seconds.
#

worker_timeout(60)
worker_timeout(3600) if ENV['RAILS_ENV'].eql?('development')
worker_timeout(600)

preload_app!
2 changes: 1 addition & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
active_record:
batch_size:
find_each: 5000
import: 50000
import: 1000

archiver:
archive: true
Expand Down

0 comments on commit a1a1c20

Please sign in to comment.