Skip to content

Conversation

@david-yorku
Copy link

What?

--> Applying Creational Design Pattern to caches.py file in app folder

Why?

--> Ensuring that only one database connection is made at a time to prevent multiple connections to the same database.

How?

--> Using the Singleton Design approach.

@Kilo59 Kilo59 closed this Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants