-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slack users are invited and leave constantly #711
Comments
Attatching some more logs here that appeared as a result of a recent startup (or crash rather :/):
Note the joining and leaving of bot users. |
#661 I think it's the asme |
any idea how to remove those events from the database? I have the same problem. |
When
teamSync
is enabled, the matrix-bot version of members of a slack channel are invited and leave constantly. For a slack workspace with ~100 members, this has over the course of a couple months gotten to the point that there are 40GB(!!) worth of events in our synapse postgres database.There doesn't seem to be a lot of patterns to when and who gets invited and leaves, but it does seem to happen a lot more every time the service is restarted.
F.ex. in element, a channel will be filled with "User x was invited, joined and left..." with about ~100 of the
invited, joined and left
in the course of a minute (when service is restarted). i.e. a couple thousand events in total.In normal use, there will be maybe between 2 - 100 invited, joined and left events every day. (no one has left or joined the channel in slack during this time)
Note that none of these users are linked to a matrix account, and they "exist" only in slack.
The appservice logs also have a lot of these messages at the time the issues appear:
System info
The text was updated successfully, but these errors were encountered: