You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need an internal cache that maps Map<Class<?>, Object> to keep track of invokables that we've already created so we don't create multiple instances wasting memory.
The text was updated successfully, but these errors were encountered:
Doing some debugging, I realized that https://github.com/markkolich/curacao/blob/master/curacao/src/main/java/curacao/CuracaoInvokable.java#L83 news up an instance of an invokable once per route.
This is so wrong.
We need an internal cache that maps
Map<Class<?>, Object>
to keep track of invokables that we've already created so we don't create multiple instances wasting memory.The text was updated successfully, but these errors were encountered: