File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
//database user's name
3
3
user : process . env . USER ,
4
+
4
5
//name of database to connect
5
6
database : process . env . USER ,
7
+
6
8
//database user's password
7
9
password : null ,
10
+
8
11
//database port
9
12
port : 5432 ,
13
+
10
14
//number of rows to return at a time from a prepared statement's
11
15
//portal. 0 will return all rows at once
12
16
rows : 0 ,
17
+
13
18
//number of connections to use in connection pool
14
19
//0 will disable connection pooling
15
20
poolSize : 10 ,
16
- //duration of node-pool timeout
21
+
22
+ //max milliseconds a client can go unused before it is removed
23
+ //from the pool and destroyed
17
24
poolIdleTimeout : 30000 ,
25
+
26
+ //frequeny to check for idle clients within the client pool
27
+ reapIntervalMillis : 1000 ,
28
+
18
29
// binary result mode
19
30
binary : false
20
31
}
You can’t perform that action at this time.
0 commit comments