Skip to content

Commit 89c49c7

Browse files
authored
dev: Increase DevContainer 2 to 4 CPUs, and rm extension
GitHub default 2 CPU machines for Codespace are unbearably slow to work on with Maven Java projects, so bump to 4 CPUs requirement. Also remove the "rangav.vscode-thunder-client" VSC extension (https://www.thunderclient.com) which was originally automatically added, but is not required.
1 parent 2ec0e90 commit 89c49c7

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"vscode": {
1010
"extensions": [
1111
"extension-pack-for-java",
12-
"redhat.vscode-xml",
13-
"rangav.vscode-thunder-client"
12+
"redhat.vscode-xml"
1413
],
1514
"settings": {
1615
"java.jdt.download.server": "latest",
@@ -24,5 +23,8 @@
2423
},
2524
"remoteUser": "vscode",
2625
"forwardPorts": [8000, 8080, 8081, 8082],
27-
"postCreateCommand": "git config --global credential.helper '!gh auth git-credential' && git config --global lfs.locksverify false"
26+
"postCreateCommand": "git config --global credential.helper '!gh auth git-credential' && git config --global lfs.locksverify false",
27+
"hostRequirements": {
28+
"cpus": 4
29+
}
2830
}

0 commit comments

Comments
 (0)