In doing some profiling someone noticed a bunch of stats looking for
Callback modifications. In the “every little bit counts” category, this
patch caches the stat/response so that subsequent requests can use the
in-memory response rather than go out and get the fresh value via a system
If I understand it correctly, on production systems, it should be a rare
event that new Callbacks are added. If they are added, the sysadmin could
certainly restart RT to make them show up.
I added this to my RT_Siteconfig:
Seconds until the callback cache times out Set this high (86400) for
production systems, low for development (0) [default]
And it seems to have made some difference, although I haven’t run any
tests to verify.
This obviously only makes sense in persistent environments.
Let me know if you see any booboos/comments/etc.
callbackpatch (1.72 KB)