hibiken / asynqmon

Web UI for Asynq task queue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Large payloads cause crash in Chrome

zeroallox opened this issue · comments

Hello,

When jobs contain large payloads, the preview causes the page to crash.

https://i.imgur.com/iA5G3zH.png

Is it possible to hide this column or view the preview in a separate window / download it as a text file?

This library is amazing BTW. Thank you for creating and maintaining it.

@zeroallox thank you for creating an issue!

We should truncate the payload displayed on the page you've shown in the image. I'll find a sensible default bytes size for the threshold and make it customizable via a flag. We should be able to have a larger value for the threshold for the task details page (the page you can navigate to by clicking on one of the rows), or not limit at all for the details page.

That sounds great!

Simply for context, my payloads for this job can contain up to 23K 8-character strings:

Example: BXB795LL

This might cause any full preview for the payload to get angry.