mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
text changes
This commit is contained in:
@@ -82,7 +82,10 @@ class LogEventForm extends Component<LogEventFormProps> {
|
||||
<MenuItem value={8}>TRACE</MenuItem>
|
||||
</SelectValidator>
|
||||
<Typography color="primary" variant="body2">
|
||||
<i>Only the last {data.max_messages} messages are shown</i>
|
||||
<i>
|
||||
(the last {data.max_messages} messages are buffered. New log events
|
||||
are shown in real-time.)
|
||||
</i>
|
||||
</Typography>
|
||||
</ValidatorForm>
|
||||
);
|
||||
|
||||
@@ -18,7 +18,7 @@ const ES_ENDPOINT_ROOT = '/es/'
|
||||
const LOG_SETTINGS_ENDPOINT = REST_ENDPOINT_ROOT + 'logSettings'
|
||||
const log_settings = {
|
||||
level: 6,
|
||||
max_messages: 25,
|
||||
max_messages: 30,
|
||||
}
|
||||
|
||||
const FETCH_LOG_ENDPOINT = REST_ENDPOINT_ROOT + 'fetchLog'
|
||||
|
||||
@@ -89,7 +89,7 @@ void WebLogService::loop() {
|
||||
|
||||
// put a small delay in
|
||||
const uint64_t now = uuid::get_uptime_ms();
|
||||
if (now < last_transmit_ || now - last_transmit_ < 50) {
|
||||
if (now < last_transmit_ || now - last_transmit_ < 100) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user