Were do I change limits on fcgi/django script installs?

I used the install script interface in virtualmin to setup a django app, and it’s been running fine for years. However I’m running into a problem , it seems to have a 30 second limit on execution time which causes certain admin tasks to fail. No problem for php apps, I know where all the settings are and have changed them before. But I can’t find where I would change that for none-php scripts. I didn’t see anything in the django.fcgi file about limits, so not sure where else fcgi limits would be configured since everything else that has to do with fcgi that I see is talking about php limits.
Please help! Thanks.