mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-23 18:55:22 +01:00
#1893: Alter definition of slow event
This commit is contained in:
parent
6f6cb58d8b
commit
e3869fea18
@ -378,7 +378,7 @@ public class PluginManager
|
|||||||
event.postCall();
|
event.postCall();
|
||||||
|
|
||||||
long elapsed = System.nanoTime() - start;
|
long elapsed = System.nanoTime() - start;
|
||||||
if ( elapsed > 1000000 )
|
if ( elapsed > 250000000 )
|
||||||
{
|
{
|
||||||
ProxyServer.getInstance().getLogger().log( Level.WARNING, "Event {0} took {1}ns to process!", new Object[]
|
ProxyServer.getInstance().getLogger().log( Level.WARNING, "Event {0} took {1}ns to process!", new Object[]
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user