Django gunicorn gevent with Statsig - run code in forked process

I am running Django app with gunicorn gevent workers. I'm using Statsig for Feature Flagging. It appears to be struggling, I assume due to gevents monkey patching. I was hoping I could get around this by running Statsig post app start up, specifically only in the forked processes, not the main process. It does init() but then never updates it's internal cache - so my Feature Gates always return the first value they got, and never fetch new ones.

Has anyone had any similar issues at all?

Вернуться на верх