Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Default to using 1 thread for updating gems

  • Loading branch information...
commit f08d151e519607a7e7b46752231981a88d480f23 1 parent 39b741f
@lmarburger lmarburger authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -185,7 +185,7 @@ end
desc "update database"
task :update, :thread_count do |t, args|
- thread_count = args[:thread_count].to_i
+ thread_count = (args[:thread_count] || 1).to_i
Sequel.connect(ENV["DATABASE_URL"], max_connections: thread_count) do |db|
update(db, thread_count)
end
@@ -193,7 +193,7 @@ end
desc "fixing existing dependencies"
task :fix_deps, :thread_count do |t, args|
- thread_count = args[:thread_count].to_i
+ thread_count = (args[:thread_count] || 1).to_i
Sequel.connect(ENV["DATABASE_URL"], max_connections: thread_count) do |db|
fix_deps(db, thread_count)
end
Please sign in to comment.
Something went wrong with that request. Please try again.