Joystream / joystream

Joystream Monorepo
http://www.joystream.org
GNU General Public License v3.0
1.42k stars 115 forks source link

[colossus] fix: QN query `Maximum call stack size exceeded` #5021

Closed zeeshanakram3 closed 10 months ago

zeeshanakram3 commented 10 months ago

SSIA.

image
mnaamani commented 10 months ago

I would have expected this error only if MAX_RESULTS_PER_QUERY was set to a very large value, but it is a constant 1000. On further inspection I see now this is only the size limit result per page. So the name of the constant was misleading and why I did not make these changes in similar fix https://github.com/Joystream/joystream/pull/4969