text changes

This commit is contained in:
proddy
2021-06-17 11:40:19 +02:00
parent 7e7bd29c9a
commit 270298eb8a
3 changed files with 6 additions and 3 deletions

View File

@@ -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>
);

View File

@@ -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'

View File

@@ -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;
}