Server Freezes
Closed this issue ยท 6 comments
Console errors server freeze when using the plugin quests: https://hastebin.com/dujucemeno.shell
I reported this to the author this was his reply: https://gyazo.com/e7f84db4d94364ddfe31484cd5b28f39
The author of the Quests plugin already made a PR themself that tries to fix the issue: #2060
Strange, it's not obvious to me that either plugin is to blame.
The call that the Quests plugin is making to getEffectivePermissions
seems to be perfectly safe (although arguably could be avoided for performance reasons, but that's besides the point)
And the LP implementation of that method seems to be ok too, so I'm not sure.
Does the crash happen frequently, or reliably? Has it happened more than once?
crossref:
PikaMug/Quests#1121 (comment)
Strange, it's not obvious to me that either plugin is to blame.
The call that the Quests plugin is making to
getEffectivePermissions
seems to be perfectly safe (although arguably could be avoided for performance reasons, but that's besides the point)And the LP implementation of that method seems to be ok too, so I'm not sure.
Does the crash happen frequently, or reliably? Has it happened more than once?
Only happened once
Ah I hadn't seen the timings report - makes sense.
Doesn't seem to be an LP issue then. :)
I suspect that the problem arises when the getEffectivePermissions()
call occurs too frequently (either by the same player or multiple) as a result of it being used in Quests' event listeners. While it is, of course, possible to address the issue with a workaround on my end, the underlying issue appears to be with LuckPerms as I have explained in #2060