Open nicolasfranck opened 10 years ago
Every time the method _dbh is called, a new connection is made to the database, which makes this implementation very slow. Can you maybe specify a timeout for the connection to refresh? For an example see Dancer::Plugin::Database
Every time the method _dbh is called, a new connection is made to the database, which makes this implementation very slow. Can you maybe specify a timeout for the connection to refresh? For an example see Dancer::Plugin::Database