Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrairieLearn/PrairieLearn
/ idleErrorHandler
Function
idleErrorHandler
lib/databaseDescribe.js:60–62 ·
view source on GitHub ↗
(err)
Source
from the content-addressed store, hash-verified
58
idleTimeoutMillis: 30000,
59
};
60
var
idleErrorHandler =
function
(err) {
61
throw Error(
'idle client error'
, err);
62
};
63
sqldb.init(pgConfig, idleErrorHandler,
function
(err) {
64
if
(ERR(err, callback))
return
;
65
callback(null);
Callers
nothing calls this directly
Calls
1
Error
Class · 0.85
Tested by
no test coverage detected