mirror of
https://github.com/BotChain-Robots/rpc.git
synced 2026-03-09 23:12:27 +01:00
Increase RPC timeout (needed for OTA updates)
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
constexpr auto RX_QUEUE_SIZE = 100;
|
constexpr auto RX_QUEUE_SIZE = 100;
|
||||||
constexpr auto FN_CALL_TAG = 100; // reserved tag for RPC functionality
|
constexpr auto FN_CALL_TAG = 100; // reserved tag for RPC functionality
|
||||||
constexpr auto FN_CALL_TIMEOUT = std::chrono::seconds(3);
|
constexpr auto FN_CALL_TIMEOUT = std::chrono::seconds(10);
|
||||||
|
|
||||||
struct SizeAndSource {
|
struct SizeAndSource {
|
||||||
size_t bytes_written;
|
size_t bytes_written;
|
||||||
|
|||||||
Reference in New Issue
Block a user