Normalises a declared ceiling, dropping what cannot be trusted.
0 is a MEANINGFUL value — it disables trimming — so it is not filtered out with the
rubbish. Anything that is not a finite, non-negative number is dropped and logged: the worker
then falls back to its own constant, which bounds. It never falls back to "no limit".
Parameters
value: unknown
Raw value read from the profile configuration.
Returns number|null
The ceiling in entries, or null when nothing usable was declared.
Normalises a declared ceiling, dropping what cannot be trusted.
0is a MEANINGFUL value — it disables trimming — so it is not filtered out with the rubbish. Anything that is not a finite, non-negative number is dropped and logged: the worker then falls back to its own constant, which bounds. It never falls back to "no limit".