diff --git a/include/opendht/value.h b/include/opendht/value.h index 4b9336e284e651a80bb5a3e18b2a7ae27f5dd33c..045b69c434e00fde80d3d7b3d4d94c32d5c0ccd1 100644 --- a/include/opendht/value.h +++ b/include/opendht/value.h @@ -80,7 +80,7 @@ using StorePolicy = std::function<bool(InfoHash key, std::shared_ptr<Value>& val */ using EditPolicy = std::function<bool(InfoHash key, const std::shared_ptr<Value>& old_val, std::shared_ptr<Value>& new_val, InfoHash from, const sockaddr* from_addr, socklen_t from_len)>; -static constexpr const size_t MAX_VALUE_SIZE {1024 * 128}; +static constexpr const size_t MAX_VALUE_SIZE {1024 * 56}; struct ValueType { typedef uint16_t Id;