Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3498154
D4233.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
673 B
Referenced Files
None
Subscribers
None
D4233.diff
View Options
diff --git a/services/backup/src/Constants.h b/services/backup/src/Constants.h
--- a/services/backup/src/Constants.h
+++ b/services/backup/src/Constants.h
@@ -18,7 +18,9 @@
// than the chunk limit, once we get the amount of data of size equal to the
// limit, we wouldn't know if we should put this in the database right away or
// wait for more data.
-const size_t LOG_DATA_SIZE_DATABASE_LIMIT = 1 * 1024 * 1024;
+// 400KB limit (KB, not KiB, that's why it's 1000 not 1024) -
+// https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ServiceQuotas.html
+const size_t LOG_DATA_SIZE_DATABASE_LIMIT = 400 * 1000;
} // namespace network
} // namespace comm
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 8:59 PM (12 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2682936
Default Alt Text
D4233.diff (673 B)
Attached To
Mode
D4233: [services] Backup - Fix data size database limit
Attached
Detach File
Event Timeline
Log In to Comment