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,9 +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. -// 400KB limit (KB, not KiB, that's why it's 1000 not 1024) - +// 400KiB limit (in docs there is KB but they mean KiB) - // https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ServiceQuotas.html -const size_t LOG_DATA_SIZE_DATABASE_LIMIT = 400 * 1000; +const size_t LOG_DATA_SIZE_DATABASE_LIMIT = 1024 * 400; } // namespace network } // namespace comm