Closing connections in Mongoose [SOLVED]

Closing connections in Mongoose [SOLVED]
0

#1

After a couple of tests on my URL shortener, I noticed that the number of open connections on the database increases as I store URLs. Should I worry about this? Do I have to close connections right after storing a URL?


#2

Hmmm… it seems that what’s causing the increase in open connections is my test code, not the when I store URLs. Never mind this post.