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