Change min interval for sending deltas to 5 ms from 100 ms
@@ -71,7 +71,7 @@ WSClient::WSClient(String config_path, SKDelta* sk_delta, String server_address,
void WSClient::enable() {
app.onDelay(0, [this]() { this->connect(); });
app.onRepeat(20, [this]() { this->loop(); });
- app.onRepeat(100, [this]() { this->send_delta(); });
+ app.onRepeat(5, [this]() { this->send_delta(); });
app.onRepeat(10000, [this]() { this->connect_loop(); });
}
