swift: fix discard error
variable name as -> ss
move maxInMemorySlurp to constants.go