HttpLimits

data class HttpLimits(@DefaultValue(value = ["30s"]) var maxExecutionTime: Duration? = Duration.ofSeconds(30), var maxRowsToRead: Long? = null, var maxResultRows: Long? = null, @DefaultValue(value = ["4294967296"]) var maxMemoryUsage: Long? = 4L * 1024 * 1024 * 1024)

What one HTTP query may cost: 30 seconds and 4 GiB of memory unless set; untrusted callers get a bound.

Constructors

Link copied to clipboard
constructor(@DefaultValue(value = ["30s"]) maxExecutionTime: Duration? = Duration.ofSeconds(30), maxRowsToRead: Long? = null, maxResultRows: Long? = null, @DefaultValue(value = ["4294967296"]) maxMemoryUsage: Long? = 4L * 1024 * 1024 * 1024)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard