DiscordSRV

DiscordSRV

86.8k Downloads

Account links aren't updated to other servers instantly

NoltoxGit opened this issue ยท 1 comments

commented

Expected behavior

There is no delay between the different servers.

Actual behavior

There is a delay between one server and the others.

Steps to reproduce

I explain how i have config DiscordSRV:

  • All the link system in managed on my Lobby server. He's the one who gives out all the awards, Discord roles...
  • I have 2 two-subservers (Creative and Survival), and it is linked with same MariaDB dbb i've on the Lobby,
    • And when I try to link my account on one of its two subservers, I have a big delay (~2min) between the time I send the confirmation message for link my account, and the time when my account is considered linked

A staff explanation:

"So what you're running into is a limitation of discordsrv not properly supporting bungeecord/velocity. There's a cache for linked users that only expires after 3 minutes pass. Since the dsrv plugin on Server A doesn't communicate with the dsrv plugin on Server B, there's no way for dsrv on Server A to tell dsrv on Server B to clear/update it's cache with the new value."

Server software and version

git-Purpur-2176 (MC: 1.20.4)*

Checks

  • I am not using an outdated version of DiscordSRV.
  • I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.
  • I didn't actually check any of these things

Anything else

No response

commented

Duplicate of #1492