You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running Mojolicious services that use DBD::Pg through DBIx::Class or Mojo::Pg. Periodically, I see in the logs the following DBI exception a few times per day (difficult to reproduce):
(in cleanup) DBD::Pg::st DESTROY failed: no connection to the server
I found a silencing of the warning in the forking section of t/02attribs.t
local $SIG{__WARN__} = sub { warn $_[0] unless $_[0] =~ /DESTROY failed: no connection/ }; # shut up destroy warning
so this seems like the best place to ask about this DBI exception!
My services appear to churn along happily, reconnecting as needed. I checked and I am using AutoInactiveDestroy => 1 via DBI. I also run versions of the same services with connections to DBD::Oracle; there are no analogous exceptions coming through Oracle::DBD.
Would someone be able to provide more information about the exception and whether it can be avoided?
I am running Mojolicious services that use DBD::Pg through DBIx::Class or Mojo::Pg. Periodically, I see in the logs the following DBI exception a few times per day (difficult to reproduce):
I found a silencing of the warning in the forking section of t/02attribs.t
so this seems like the best place to ask about this DBI exception!
My services appear to churn along happily, reconnecting as needed. I checked and I am using AutoInactiveDestroy => 1 via DBI. I also run versions of the same services with connections to DBD::Oracle; there are no analogous exceptions coming through Oracle::DBD.
Would someone be able to provide more information about the exception and whether it can be avoided?
EDIT:
Perl v5.30.0
DBI::VERSION = 1.643
DBD::Pg::VERSION = 3.14.2
The text was updated successfully, but these errors were encountered: