diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-15 22:23:01 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-15 22:23:01 +0000 |
commit | 4417ff416797720c2bb1d28de0a8a24f2e631f55 (patch) | |
tree | 37cdb20bfd4db4f93cd9c5b282fb24a2585854a2 /chrome/common/chrome_switches.h | |
parent | 030bdf761f264aa1541a9bf26221fa47e24d5d6e (diff) | |
download | chromium_src-4417ff416797720c2bb1d28de0a8a24f2e631f55.zip chromium_src-4417ff416797720c2bb1d28de0a8a24f2e631f55.tar.gz chromium_src-4417ff416797720c2bb1d28de0a8a24f2e631f55.tar.bz2 |
Add a switch for changing the fd limit on Mac/Linux.
Bump up the default fd limit on the Mac; stopgap fix for page cyclers, but something we want long-term to improve performance once we handle fd exhaustion with delays.
BUG=none
TEST=Launching with --file-descriptor-limit=20 should crash the renderer almost immediately.
Review URL: http://codereview.chromium.org/125151
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.h')
-rw-r--r-- | chrome/common/chrome_switches.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 8d3785a..3b76100 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -192,6 +192,8 @@ extern const wchar_t kThumbnailStore[]; extern const wchar_t kTryChromeAgain[]; +extern const wchar_t kFileDescriptorLimit[]; + } // namespace switches #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |