Set connection run-time limits.
category
The limit category to be set.
limit
The new limit. If the new limit is a negative number, the limit
is unchanged.
Attempts to increase a limit above its hard upper bound are silently
truncated to the hard upper bound. Regardless of whether or not the
limit was changed, the prior value of the limit is returned.