Closed bendangelo closed 11 months ago
See https://github.com/valeriansaliou/sonic/blob/master/config.cfg#L38
It is configurable.
I think you misunderstood the question. When doing a PUSH and I push an obj with a length of over 200 or so, the server will throw an error.
An example would be: PUSH all tags Really_long_obj_name_123434545754674567234523452435523452345234523452342345234234523452345234523452345324324523455 "value"
Ah, got it. There is a buffer max length that’s announced while connecting to the channel. You need to perform a word split to stay under this buffer max size and split your push into 2 sub requests. If we’re speaking about the object name then you need to make them much shorter, eg hash it before pushing since it’s non splittable.
Ok got it thanks.
This isn't documented anywhere. I think it's around 100 characters? Is it possible to also return an err with a message saying it's too long or a code?