I'm using symfony 1.4/propel 1.4 for a project, which was made by other developer earlier. On that project, propel connection is taken by using following code
$con = Propel::getConnection(UsersPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
However it never closes the connection using
Propel::close();
I just searched that there are 1500+ such incidents of opening connection & I guess none of them is closing connection.
I know its always good practice to close connection but in present case, it seems I wont be able to fix them all as fixing all the incidents is definitely going to take lot of time, may be a whole day. So now I'm confused if I should fix that or not. If I let it be like that, will it have any performance impact?
EDIT: Just for reference
Part 2 of this question Use of closing database connection in php
__destruct
object. See this question/answers. – Nonnah