gempir / justlog

twitch logging platform
MIT License
164 stars 38 forks source link

Messages sometimes logs twice #186

Closed lucas19961 closed 1 year ago

lucas19961 commented 1 year ago

With the new image Messages sometimes log twice. Fix is a restart of the conatainer. What can i do to fix it permanent ?

gempir commented 1 year ago

What commit are you on

gempir commented 1 year ago

Made a hacky fix 32254856334a6d557f26a2a98ed065df356d0f5c

For 3 seconds we keep all ids of messages and only track each once. Should get rid of all duplicates. Except for clearchat messages those sadly have no id I think. so i can't easily do the same with them

lucas19961 commented 1 year ago

i think this is fixed with this commit

lucas19961 commented 1 year ago

nvm

gempir commented 1 year ago

Any more details? I don't see how this is possible to be not fixed.

(old messages would not magically get fixed)

lucas19961 commented 1 year ago

I re-downloaded the dockerimage and the messages are still being logged 2 times. the instance runs only once. I have also tested it on another system myself error

gempir commented 1 year ago

Are you sure you are on the latest image? I just tested it even increased the rejoin loop frequency to 1 minute. I never had a double message

lucas19961 commented 1 year ago

ghcr.io/gempir/justlog latest 30ee89294a7d 3 hours ago 24.1MB this is my image

and the messages are duplicated. I dont now what is my fault opera_2MBXy1EU12

gempir commented 1 year ago

Can you post the raw output? I need to see the message ids

lucas19961 commented 1 year ago

It works now. I guess my image was broken. I redownloaded the image and now it workes