From 37ee7b5c7ed88243d1dc5af1e10749b53d3905e5 Mon Sep 17 00:00:00 2001 From: Mathis Chenuet <9201969+artemisart@users.noreply.github.com> Date: Tue, 4 Jul 2023 10:50:16 +0200 Subject: [PATCH] Request bigger batches for console logs, helps searching (#58) * Request bigger batches for console logs Navigating consoles logs is a bit inefficient and searching is broken by lazy loaded messages, this commit does not solve this but helps a bit by requesting more messages at each request (current size does ~8kB brotli requests on my tests but I guess it depends on message length). 5000 is the default size for the backend: https://github.com/allegroai/clearml-server/blob/452f606889d069290f3786a8d07517ad2b472efa/apiserver/apimodels/events.py#L112C10-L112C10 * Update src/app/webapp-common/experiments/shared/common-experiments.const.ts --- .../experiments/shared/common-experiments.const.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/webapp-common/experiments/shared/common-experiments.const.ts b/src/app/webapp-common/experiments/shared/common-experiments.const.ts index 74a98dba..91500ee8 100755 --- a/src/app/webapp-common/experiments/shared/common-experiments.const.ts +++ b/src/app/webapp-common/experiments/shared/common-experiments.const.ts @@ -51,7 +51,7 @@ export const TASK_TAGS = { HIDDEN: 'archived' as TaskTagsEnum }; -export const LOG_BATCH_SIZE = 100; +export const LOG_BATCH_SIZE = 1000; export enum CustomColumnMode { Standard,