Skip to content

Commit

Permalink
Correct the default value for the maximum number of hosted database f…
Browse files Browse the repository at this point in the history
…iles per FileMaker Server instance (#34, #35)
  • Loading branch information
matsuo committed Jun 30, 2024
1 parent b3687f3 commit c4405b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fmcsadmin.go
Original file line number Diff line number Diff line change
Expand Up @@ -3985,7 +3985,7 @@ func getServerGeneralConfigurations(urlString string, token string, printOptions
}
if option == "maxfiles" {
if version >= 20.1 {
fmt.Println("MaxFiles = " + strconv.Itoa(maxFiles) + " [default: 125, range: 1-256] ")
fmt.Println("MaxFiles = " + strconv.Itoa(maxFiles) + " [default: 256, range: 1-256] ")
} else {
fmt.Println("MaxFiles = " + strconv.Itoa(maxFiles) + " [default: 125, range: 1-125] ")
}
Expand All @@ -3995,7 +3995,7 @@ func getServerGeneralConfigurations(urlString string, token string, printOptions
}
if option == "hostedfiles" {
if version >= 20.1 {
fmt.Println("HostedFiles = " + strconv.Itoa(maxFiles) + " [default: 125, range: 1-256] ")
fmt.Println("HostedFiles = " + strconv.Itoa(maxFiles) + " [default: 256, range: 1-256] ")
} else {
fmt.Println("HostedFiles = " + strconv.Itoa(maxFiles) + " [default: 125, range: 1-125] ")
}
Expand Down

0 comments on commit c4405b1

Please sign in to comment.