bernardopires / django-tenant-schemas

Tenant support for Django using PostgreSQL schemas.
https://django-tenant-schemas.readthedocs.org/en/latest/
MIT License
1.45k stars 424 forks source link

Setting Tenant takes a lot of time #638

Closed damey2011 closed 4 years ago

damey2011 commented 4 years ago

Initial requests to the application takes a whole lot of time. Sometimes the application takes up to 7 seconds to respond. So also is switching the next tenant when migration is ran. Is there a solution to this ?

damey2011 commented 4 years ago

Never to worry. I found out the issue with my application. I was using custom hosts in my machine. In this case, was ending with .local which I did not know mac uses for some internal processes.