Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Pass disable-dev-shm-usage to chromedriver
Browse files Browse the repository at this point in the history
c.f. ttps://github.com/heroku/heroku-buildpack-google-chrome/issues/46#issuecomment-416828268
  • Loading branch information
sue445 committed Sep 23, 2018
1 parent 97bfedc commit e72b9dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ def find_apple_system_status(country, title)

def fetch_apple_system_status(country)
fetch_cache(country) do
AppleSystemStatus::Crawler.perform(country: country)
chrome_options_args = AppleSystemStatus::Crawler::DEFAULT_CHROME_OPTIONS_ARGS + %w[disable-dev-shm-usage]
AppleSystemStatus::Crawler.perform(country: country, chrome_options_args: chrome_options_args)
end
end

Expand Down

0 comments on commit e72b9dc

Please sign in to comment.