Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #46 from SpigotMC/master
Browse files Browse the repository at this point in the history
SpigotMC#1893: Alter definition of slow event
  • Loading branch information
sleiss authored Jun 20, 2016
2 parents 3bb507f + e3869fe commit 8d66be3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public <T extends Event> T callEvent(T event)
event.postCall();

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[]
{
Expand Down

0 comments on commit 8d66be3

Please sign in to comment.