mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Tonlib: change liteservers on query timeout or connection close
This commit is contained in:
parent
69cee95abb
commit
33a079962f
16 changed files with 117 additions and 37 deletions
|
@ -48,6 +48,7 @@ class AdnlQuery : public td::actor::Actor {
|
|||
}
|
||||
void alarm() override;
|
||||
void result(td::BufferSlice data);
|
||||
void set_error(td::Status error);
|
||||
void start_up() override {
|
||||
alarm_timestamp() = timeout_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue