Skip to content

Commit

Permalink
Ha! Add CPUs to VM
Browse files Browse the repository at this point in the history
In order to run concurrency code that relies on there being multiple cores, we acutally need this VM to *have* multiple cores...

In doing this I also found some nicer syntax for the memory, so this commit also amends that.
  • Loading branch information
annashipman committed Jul 14, 2021
1 parent 6b65829 commit 360bedc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ Vagrant.configure("2") do |config|

# Need more memory for large arrays
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--memory", 2048]
v.memory = 2048
v.cpus = 4
end

config.vm.provision "shell", inline: <<-SHELL
Expand Down

0 comments on commit 360bedc

Please sign in to comment.