Commit 8dd85b18 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Load admins from backend before restarting Jetty server. This fixes a timing...

Load admins from backend before restarting Jetty server. This fixes a timing problem when it takes several minutes to get admins from backend.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10573 b35dd754-fafc-0310-a699-88a17e54d16e
parent cd7749d8
...@@ -364,6 +364,9 @@ public class XMPPServer { ...@@ -364,6 +364,9 @@ public class XMPPServer {
Log.error("Error generating self-signed certificates", e); Log.error("Error generating self-signed certificates", e);
} }
// Initialize list of admins now (before we restart Jetty)
AdminManager.getInstance().getAdminAccounts();
Thread finishSetup = new Thread() { Thread finishSetup = new Thread() {
public void run() { public void run() {
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