mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-02-26 18:01:13 +01:00
fix metrics time interval
This commit is contained in:
@@ -46,7 +46,7 @@ public class PlaceholderAPIPlugin extends JavaPlugin {
|
||||
final MetricsManager metricsManager = new MetricsManager(this);
|
||||
final ScheduledFuture<Void> task = (ScheduledFuture<Void>) HytaleServer.SCHEDULED_EXECUTOR.scheduleAtFixedRate(() -> {
|
||||
metricsManager.send();
|
||||
}, 30, 30, TimeUnit.SECONDS);
|
||||
}, 1, 15, TimeUnit.MINUTES);
|
||||
getTaskRegistry().registerTask(task);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user