The session object does not persist when we use multiple Gunicorn workers. This will result in failure when we add a new car using /car/add and try to validate if the new car is in deed added using /cars.
Modifying the service file to use 1 Gunicorn worker will fix this for now.
The
session
object does not persist when we use multiple Gunicorn workers. This will result in failure when we add a new car using/car/add
and try to validate if the new car is in deed added using/cars
.Modifying the service file to use
1
Gunicorn worker will fix this for now.