Hi All,
I am using uWSGI emperor mode and spawning vassals dynamically and wanted to check a condition before a vassal is spawned.
I tried different hooks, the pre-app hook and vassals-start-hook primarily.
pre-app: hook is fatal and when returned non-zero terminates the whole instance including the emperor.
vassals-start-hook : Runs at the start of each vassal but doesn't stop the vassal from spawning.
Any advice/suggestions on how to check certain condition before spawning a dynamic vassal.