Day 32: CodeHost
Today, I added an option to pause the project to stop all further deployments and access to the URL.
Now, the user can go to the project's settings and pause the project, which will block all further new deployments for the project and requests to the public URL of the project.
Get Alwin Sunil’s stories in your inbox
Join Medium for free to get updates from this writer.
The implementation updates the status of each project to either ACTIVE or PAUSED and is considered by the request-handler service on each request when hitting the database. To handle the situation hitting Redis cache for the subdomain to project id mapping, from the client on project status or domain change the cache for the domain is deleted from Redis.
Also updated the UI to display the status of the project on the dashboard and project page.
That’s all for today, thank you for reading.






