Closed dsavchenko closed 5 months ago
why? how does it reload then?
It doesn't need to be reloaded to be aware of the instruments in KG after introducing NB2WInstrumentFactoryIter
.
So the reload endpoint is only used in case of changes in a static configuration file. Moreover, it can really only be used in tests, in the real production deployment there are multiple independent processes started by gunicorn and calling the reload endpoint affected only one of them, this was the reason for the disappearance of the newly added instruments.
No more need to reload plugin after https://github.com/oda-hub/dispatcher-plugin-nb2workflow/pull/90 (it didn't work anyway due to multiple workers)