Skip to content

Commit

Permalink
🎨 adding config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Archish27 committed Feb 16, 2023
1 parent e3b1149 commit 1bcc633
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules
tmp/
config.json
.nyc_output
logs/
32 changes: 32 additions & 0 deletions lib/config/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"prod": {
"workers": 1,
"port": 9222,
"hostname": "127.0.0.1",
"upstream": "ws://localhost:9125",
"retryDelay": 10000,
"closeTimer": 15000,
"enableInstrumentation": true,
"instrumentationTimer": 60000
},
"test": {
"workers": 1,
"port": 8999,
"hostname": "127.0.0.1",
"upstream": "ws://localhost:8999",
"retryDelay": 10000,
"closeTimer": 15000,
"enableInstrumentation": true,
"instrumentationTimer": 60000
},
"dev": {
"workers": 1,
"port": 9222,
"hostname": "127.0.0.1",
"upstream": "ws://localhost:9125",
"retryDelay": 10000,
"closeTimer": 15000,
"enableInstrumentation": true,
"instrumentationTimer": 60000
}
}
2 changes: 1 addition & 1 deletion lib/config/config.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"dev": {
"workers": 1,
"port": 9124,
"port": 9222,
"hostname": "127.0.0.1",
"upstream": "ws://localhost:9125",
"retryDelay": 10000,
Expand Down

0 comments on commit 1bcc633

Please sign in to comment.