Skip to content

Commit

Permalink
Merge pull request monero-project#12 from rbrunner7/serializer-limits
Browse files Browse the repository at this point in the history
stressnet: Higher serialization limits e.g. for very big blocks
  • Loading branch information
spackle-xmr authored Jun 28, 2024
2 parents 16f0655 + 4df408c commit 68ccb9a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions contrib/epee/include/storages/levin_abstract_invoke2.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ void on_levin_traffic(const context_t &context, bool initiator, bool sent, bool

namespace
{
// Higher limits for stressnet, as a "band aid solution" against bumping against limits e.g. with very big blocks
static const constexpr epee::serialization::portable_storage::limits_t default_levin_limits = {
8192, // objects
16384, // fields
16384, // strings
20000, /* was 8192 */ // objects
50000, /* was 16384 */ // fields
50000, /* was 16384 */ // strings
};
}

Expand Down

0 comments on commit 68ccb9a

Please sign in to comment.