Index: chrome/common/important_file_writer.cc |
diff --git a/chrome/common/important_file_writer.cc b/chrome/common/important_file_writer.cc |
index f5c5fc115c1dcee81bc86f71d7c32235b8264c76..26a0bc0a6555d6c43d0c71790dc9540b6bfa3ced 100644 |
--- a/chrome/common/important_file_writer.cc |
+++ b/chrome/common/important_file_writer.cc |
@@ -21,7 +21,11 @@ using base::TimeDelta; |
namespace { |
-const int kDefaultCommitIntervalMs = 10000; |
+#ifdef NDEBUG |
Paweł Hajdan Jr.
2011/03/18 19:59:03
I'm not a fan of different behavior in debug vs. r
Denis Lagno
2011/03/21 01:18:53
I removed dependency on NDEBUG but instead added d
|
+const int kDefaultCommitIntervalMs = 2000; |
Paweł Hajdan Jr.
2011/03/18 19:59:03
I'm not sure whether decreasing this interval is t
brettw
2011/03/18 20:30:21
If we do keep this different, there should be a co
Denis Lagno
2011/03/21 01:18:53
Done.
Denis Lagno
2011/03/21 01:18:53
original problem I've encountered was the fact tha
|
+#else |
+const int kDefaultCommitIntervalMs = 100000; |
+#endif |
class WriteToDiskTask : public Task { |
public: |