1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Add --fast-state-serializer flag and responding to AdnlMessageCreateChannel with Nop (#1096)

* Add --fast-state-serializer and tools for jemalloc

* Disable fast state serializer by default unless RAM is >= 90GB
* Print jemalloc stats once a minute
* Dump jemalloc profile on request

* Respond to AdnlMessageCreateChannel with Nop

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
EmelyanenkoK 2024-08-07 14:25:45 +03:00 committed by GitHub
parent 8714477ccb
commit e985ac0358
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 166 additions and 2 deletions

View file

@ -214,6 +214,7 @@ class AdnlPeerPairImpl : public AdnlPeerPair {
pubkeys::Ed25519 channel_pub_;
td::int32 channel_pk_date_;
td::actor::ActorOwn<AdnlChannel> channel_;
td::Timestamp respond_to_channel_create_after_;
td::uint64 in_seqno_ = 0;
td::uint64 out_seqno_ = 0;