forked from gwicke/testreduce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.settings.js.example
44 lines (34 loc) · 1.01 KB
/
server.settings.js.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* This is a sample configuration file.
* Copy this file to server.settings.js and edit that file to fit your
* MySQL connection and other settings.
*
* You can also override these settings with command line options, run
* $ node server.js --help
* to view them.
*/
module.exports = {
// Hostname of the database server.
host: "localhost",
// Port number to use for connection.
port: 3306,
// Database to use.
database: "parsoid",
// User for MySQL login.
user: "parsoid",
// Password.
password: "parsoidpw",
// Output MySQL debug data.
debug: false,
// Number of times to try fetching a page.
fetches: 6,
// Number of times an article will be sent for testing before it's
// considered an error.
tries: 6,
// Time in seconds to wait for a test result. If a test takes longer than
// this, it will be considered a crash error. Be careful not to set this to
// less than what any page takes to parse.
cutofftime: 600,
// Number of titles to fetch from database in one batch.
batch: 50
};