viur-framework/viur-vi

Strange things relating log and indexeddb

phorward opened this issue · 1 comments

Hi, the current feature/viur3 branch has a serious problem with its log and maybe the indexed-db.

I got stuck with this screen in the end:
image

I also recognized this strange message "Task started!" that comes up every time I start a new Vi, and after the yellow "a script is slowing down"-bar has deceased.
image

In the console, the following message is also strange and repeats 1000 times:
image
Its origin is here: https://github.com/viur-framework/viur-vi/blob/feature/viur3/utils.py#L269

When I clean-up vi-cache/vi-log in indexeddb, everything works better, but after a while the problem occurs again.

The log is, with the last commit, limited to the last 50 entries (configurable). When loading the Vi, the log is now cleaned up. The visual feedback is no longer displayed at startup