turnilo icon indicating copy to clipboard operation
turnilo copied to clipboard

expose limit to be configurable from UI / command line

Open lukass77 opened this issue 1 year ago • 5 comments

saw that on 1.39.0 the default limit is 100 for sort by can we configure the default limit to be smaller .. so on the first query hit .. query will not process 100 entries by default .. default will be 100 , but in case limit value is provided it will overwrite the default value with the provided value

I asume smaller limit can improve performance ..in case user need smaller limit

lukass77 avatar Mar 14 '23 07:03 lukass77

Please note few things:

  1. The '100' is not a hardcoded value. Default limit for Splits is chosen based on Dimension available limits.
  2. Dimension limits are already customisable - each dimension can have different limits.
  3. Visualisations can affect limits so it is not set in stone.

It would be impossible to create one setting for this. And I'm afraid it will be very hard to understand what it really does. I much prefer to avoid unnecessary configurations - they have very high maintenance cost.

adrianmroz-allegro avatar Mar 16 '23 16:03 adrianmroz-allegro

With regard to point number 2 , where it can be customized ?

On Thu, 16 Mar 2023, 18:30 Adrian Mróź, @.***> wrote:

Please note few things:

  1. The '100' is not a hardcoded value. Default limit for Splits is chosen based on Dimension available limits.
  2. Dimension limits are already customisable - each dimension can have different limits.
  3. Visualisations can affect limits so it is not set in stone.

It would be impossible to create one setting for this. And I'm afraid it will be very hard to understand what it really does. I much prefer to avoid unnecessary configurations - they have very high maintenance cost.

— Reply to this email directly, view it on GitHub https://github.com/allegro/turnilo/issues/1050#issuecomment-1472306168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXXXNTANGJGZJOMKSNIV6LW4M5YVANCNFSM6AAAAAAV2BB2GI . You are receiving this because you authored the thread.Message ID: @.***>

lukass77 avatar Mar 16 '23 16:03 lukass77

It's just property limits in dimension configuration.

I see it's not in the documentation. I'll add it tomorrow!

adrianmroz avatar Mar 16 '23 23:03 adrianmroz

Hey any update on this , documentation change ?

lukass77 avatar Apr 02 '23 14:04 lukass77

Documentation added in #1058

adrianmroz-allegro avatar Apr 03 '23 09:04 adrianmroz-allegro