Skip to content

Commit bf95ce5

Browse files
committed
fix go vet and increase default limit to 100 000
1 parent da1316d commit bf95ce5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/altinity-mcp/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func run(args []string) error {
210210
&cli.IntFlag{
211211
Name: "clickhouse-limit",
212212
Usage: "Default limit for query results",
213-
Value: 1000,
213+
Value: 100000,
214214
Sources: cli.EnvVars("CLICKHOUSE_LIMIT"),
215215
},
216216
&cli.StringFlag{

pkg/server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func RegisterTools(srv AltinityMCPServer) {
182182
mcp.Description("SQL query to execute (SELECT, INSERT, CREATE, etc.)"),
183183
),
184184
mcp.WithNumber("limit",
185-
mcp.Description("Maximum number of rows to return (default: 1000, max: 10000)"),
185+
mcp.Description("Maximum number of rows to return (default: 100000)"),
186186
),
187187
)
188188

0 commit comments

Comments
 (0)