diff options
Diffstat (limited to 'library')
| -rw-r--r-- | library/cpp/actors/core/event_pb.h | 4 | ||||
| -rw-r--r-- | library/cpp/actors/interconnect/ut/large.cpp | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/library/cpp/actors/core/event_pb.h b/library/cpp/actors/core/event_pb.h index 061e51fa686..2d388fceeb0 100644 --- a/library/cpp/actors/core/event_pb.h +++ b/library/cpp/actors/core/event_pb.h @@ -121,11 +121,7 @@ namespace NActors { bool Finished = false; }; -#ifdef ACTORLIB_HUGE_PB_SIZE static const size_t EventMaxByteSize = 140 << 20; // (140MB) -#else - static const size_t EventMaxByteSize = 67108000; -#endif template <typename TEv, typename TRecord /*protobuf record*/, ui32 TEventType, typename TRecHolder> class TEventPBBase: public TEventBase<TEv, TEventType> , public TRecHolder { diff --git a/library/cpp/actors/interconnect/ut/large.cpp b/library/cpp/actors/interconnect/ut/large.cpp index ba2a50c6f6f..192d7333251 100644 --- a/library/cpp/actors/interconnect/ut/large.cpp +++ b/library/cpp/actors/interconnect/ut/large.cpp @@ -24,7 +24,7 @@ Y_UNIT_TEST_SUITE(LargeMessage) { void Bootstrap(const TActorContext& ctx) { Become(&TThis::StateFunc); ctx.Send(RecipientActorId, new TEvTest(1, "hello"), IEventHandle::FlagTrackDelivery, 1); - ctx.Send(RecipientActorId, new TEvTest(2, TString(128 * 1024 * 1024, 'X')), IEventHandle::FlagTrackDelivery, 2); + ctx.Send(RecipientActorId, new TEvTest(2, TString(150 * 1024 * 1024, 'X')), IEventHandle::FlagTrackDelivery, 2); } void Handle(TEvents::TEvUndelivered::TPtr ev, const TActorContext& ctx) { |
