Site frozen after large number of checkvist links

Hello Checkvist dev friends :slight_smile:

So Iā€™ve been using lots of links between checklists for the purposes of a daily agenda. It works incredibly well in general, but I seem to have run into a hard limitā€¦

Once you have a very large number of unique checklist-links in a checklist, the entire page will freeze and it will never recover. If you open DevTools while this is occurring, youā€™ll see ā€œnet::ERR_CONNECTION_CLOSEDā€ occurring repeatedly after a very large query string filled with checklist IDs is requested.

Iā€™m guessing the query string is overflowing the HTTP max length or something similar. Either that or the server side is reaching a limit. Note that this doesnā€™t happen if your links are all buried and you slowly crawl through the list to cause them to be loaded. So it definitely seems to be a chunking issue of some kind.

Hello @Aaron_Robinson ,

Sorry for the problem. Looks like youā€™ve faced an unordinary issue, and I like our links are so useful that youā€™ve created so many of them.

May I ask your permission to take a look at the data in your account? So I better understand whatā€™s going on. And if yes, what is the list ID where the problem is present?

Kind regards,
KIR

Hereā€™s a public link which reproduces the issue with 1 click:

Test List 1 (contains 2000 tasks):
https://checkvist.com/p/o1G3QsiSqWCBVEojU0DfVH

Test List 2 (contains links to all 2000 tasks) ā† this freezes the site
https://checkvist.com/p/0HHYfVaqPdOY3ngOVeufXZ

Hello,

Thanks for the well-prepared demo stand :slight_smile:

Could you please check how it now works for you on https://beta.checkvist.com? I believe Iā€™ve fixed the hang (but Iā€™m not quite satisfied with the performance yet).

Kind regards,
KIR

1 Like

Nice! It works!

It loaded pretty fast. Fortunately itā€™s pretty rare to have that many links all opened at the same time anyway. Crazy Iā€™ve been using checkvist for this long and this was the first ā€œbugā€ I ever came across.

Thanks!

Iā€™ve applied a link-related performance fix, the page should load ~10-15% faster when there are many items and links.

The fix is on https://beta.checkvist.com, will update the production site later.

All the best and have a nice weekend :slight_smile:
KIR

1 Like