-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow pre-2.2 Rubies to execute
development restore
In #143, we got a report that because `Etc.nprocessors` was not implemented until Ruby 2.2 that Ruby 2.1 users were unable to execute `development restore`, which leverages that method to determine how many parallel processes to use when restoring the backup from the downloaded dump. This change implements a check to see if `Etc.nprocessors` is available. In the event that it's not, we'll default to two parallel processes. We will plan to sunset this change in July 2018, giving users on Ruby 2.1, which has been EOLed, six months to move on. Close #143.
- Loading branch information
1 parent
af5807e
commit 2119c50
Showing
2 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters