Commit 53884a82 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Slightly different timing.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4047 b35dd754-fafc-0310-a699-88a17e54d16e
parent db214589
...@@ -79,10 +79,10 @@ public class PluginManager { ...@@ -79,10 +79,10 @@ public class PluginManager {
// See if we're in development mode. If so, check for new plugins once every 5 seconds. // See if we're in development mode. If so, check for new plugins once every 5 seconds.
// Otherwise, default to every 30 seconds. // Otherwise, default to every 30 seconds.
if (Boolean.getBoolean("developmentMode")) { if (Boolean.getBoolean("developmentMode")) {
executor.scheduleWithFixedDelay(new PluginMonitor(), 0, 5, TimeUnit.SECONDS); executor.scheduleWithFixedDelay(new PluginMonitor(), 1, 5, TimeUnit.SECONDS);
} }
else { else {
executor.scheduleWithFixedDelay(new PluginMonitor(), 0, 20, TimeUnit.SECONDS); executor.scheduleWithFixedDelay(new PluginMonitor(), 1, 20, TimeUnit.SECONDS);
} }
} }
...@@ -766,8 +766,8 @@ public class PluginManager { ...@@ -766,8 +766,8 @@ public class PluginManager {
* isn't a plugin, this method will do nothing. * isn't a plugin, this method will do nothing.
* *
* @param pluginName the name of the plugin. * @param pluginName the name of the plugin.
* @param file the JAR file * @param file the JAR file
* @param dir the directory to extract the plugin to. * @param dir the directory to extract the plugin to.
*/ */
private void unzipPlugin(String pluginName, File file, File dir) { private void unzipPlugin(String pluginName, File file, File dir) {
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment