Creating a plugin to override QUERY_RESULT_MAX_LIMIT

I naively attempted to create a plugin (which I’ve never done, other than running through the plugin tutorial some years ago) to override the limits set in the DataExplorer module, however I’m not getting it to work.

Am I on the right track or is this a completely wrong approach?

Note: I am setting the QUERY_RESULT_DEFAULT_LIMIT to 1 to make it easier to test if the custom limits are taking effect.

I recommend against a plugin here.

Instead submit a PR to add a GlobalSetting (which is backed by environment)

5 Likes