setdiscovery: extract sample limitation in a `_limitsample` function
We need to reuse this logic for the initial query. We extract it in a function to unsure sample limiting is applied consistently in all cases.
Loading
Please register or sign in to comment