Open zivillian opened 3 years ago
Hi @zivillian ,
I doubt that this error is caused by frame size. I'm wondering where it come from... I do not see such error text in go-carbon at all....
The error message is defined in: https://github.com/go-graphite/go-carbon/blob/72fbe671c244718452557d06975d2c28d59029f4/vendor/github.com/lomik/graphite-pickle/framing/conn.go#L23
which is invoked at: https://github.com/go-graphite/go-carbon/blob/72fbe671c244718452557d06975d2c28d59029f4/cache/carbonlink.go#L280-L282
Ah, thank for looking it, @zivillian ! But looks like only @lomik knows why limit is there... We can make it configurable, though.
Making it configurable would be great and should solve our issue without affecting other users.
Today I've seen multiple errors in my go-carbon.log file:
which seems to be caused by:
https://github.com/go-graphite/go-carbon/blob/72fbe671c244718452557d06975d2c28d59029f4/cache/carbonlink.go#L324-L326
Is there any reason for this limit, or why it's hardcoded?