Hi Steven,
The Log-file keeps growing in memory, because if I delete it, and a user posts sometning, it will wite all chat-posts.
It doesn't seem to limit the number of chat messages and delete old lines say after 50 lines or so.
Also, it doesn't notice when I delete the chat-file, it should and then present an empty chat to users so I can purge stuff via logrotate.
I think this is the problem why it crashed on chat-messages. ;)
It should after like 100 messages, ill look into it
I have checked the code, but I think it doesn't do that.
Your coding is a bit different then mine, as you have IF / THEN statement but I see no ELSE after it.
It does state >= 100, but I'm not sure what it does next.
I would say <= and after ELSE remove messages from memory and writing.
Same thing happens with markers.json, it reloads the markes but doesn't show them in the waterfall after 1 minute (too short in my opinion, 5 minutes would be better, or even 10).
It tells you the new markers are read, but they don't show.
When i added the markers reload i tested it and it worked on my site, maybe caching? Ill write it on my todo.
It is not that important, as with a reload of spectrum they are there.
I run everything with Firefox if that helps ;)
Yea, i thought they werent added at all, adding them live will be a bit more complex but doable.