qxf2 / cars-api

A sample REST application to help testers learn to write API automation
MIT License
6 stars 20 forks source link

Modify the service file to use 1 Gunicorn worker when hosting the app #28

Open shivahari opened 5 months ago

shivahari commented 5 months ago

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.

shivahari commented 5 months ago

[!NOTE] Raised PR https://github.com/qxf2/cars-api/pull/30