mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Drop only accepted duplicate ext messages, don't cache errors (#902)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
f344aa46c3
commit
4d39772e40
3 changed files with 12 additions and 4 deletions
|
@ -85,6 +85,10 @@ class LiteServerCacheImpl : public LiteServerCache {
|
|||
}
|
||||
}
|
||||
|
||||
void drop_send_message_from_cache(td::Bits256 key) override {
|
||||
send_message_cache_.erase(key);
|
||||
}
|
||||
|
||||
private:
|
||||
struct CacheEntry : public td::ListNode {
|
||||
explicit CacheEntry(td::Bits256 key, td::BufferSlice value) : key_(key), value_(std::move(value)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue