[release] v0.6.3
This commit is contained in:
parent
15397a75fe
commit
2fdcd9ee70
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cosmos-server",
|
"name": "cosmos-server",
|
||||||
"version": "0.6.2",
|
"version": "0.6.3",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "test-server.js",
|
"main": "test-server.js",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -31,8 +31,8 @@ func NewDB(w http.ResponseWriter, req *http.Request) (string, error) {
|
||||||
|
|
||||||
//if ARM use arm64v8/mongo
|
//if ARM use arm64v8/mongo
|
||||||
if runtime.GOARCH == "arm64" {
|
if runtime.GOARCH == "arm64" {
|
||||||
utils.Warn("ARM64 detected. Using ARM mongo 4.4")
|
utils.Warn("ARM64 detected. Using ARM mongo 4.4.18")
|
||||||
imageName = "arm64v8/mongo:4.4"
|
imageName = "arm64v8/mongo:4.4.18"
|
||||||
|
|
||||||
// if CPU is missing AVX, use 4.4
|
// if CPU is missing AVX, use 4.4
|
||||||
} else if runtime.GOARCH == "amd64" && !cpu.X86.HasAVX {
|
} else if runtime.GOARCH == "amd64" && !cpu.X86.HasAVX {
|
||||||
|
|
Loading…
Reference in a new issue