Open anton-tkachenko opened 1 year ago
Thanks for filing the issue, I definitely should have used milliseconds from the start :) I wonder if that's possible to switch it to Duration
under the hood, but still leave setter for int
values and treating this as seconds for compatibility?
Current implementation of decoratpr hard-codes timeunit as seconds (in ProxyDataSourceBuilderConfigurer)
I want time-unit to be milliseconds (so that to log queries slower than 500 ms, for instance)
The only way I can do it now - is by subclassing/overriding ProxyDataSourceBuilderConfigurer bean in context, and I don't like it
I'd love to have one more property -
and then to specify threshold in ms
And here is my hacky hack for overriding ->