Skip to content

Commit

Permalink
REDOCE to 10MiB for action max data returns.
Browse files Browse the repository at this point in the history
  • Loading branch information
karminski committed Feb 19, 2024
1 parent 77d932d commit 684ef68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actionruntime/common/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

const DEFAULT_QUERY_AND_EXEC_TIMEOUT = 120 * time.Second
const SQL_RESULT_MEMORY_LIMIT = 209715200 // 200 * 1024 * 1024 bytes
const SQL_RESULT_MEMORY_LIMIT = 10485760 // 200 * 1024 * 1024 bytes
const SQL_RESULT_MEMORY_CHECK_SAMPLE = 1000 // check 1000 item bytes and calculate max item capacity

func RetrieveToMap(rows *sql.Rows) ([]map[string]interface{}, error) {
Expand Down

0 comments on commit 684ef68

Please sign in to comment.