File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
java/eu/knowledge/engine/admin Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33public class AdminUIConfig {
44
55 /**
6- * The key to configure how long (in milliseconds) should the Admin UI wait
6+ * The key to configure how long (in milliseconds) should the MetadataKB wait
77 * until it tries to ask for all KBs in the network. This value should probably
88 * be higher in distributed mode, to allow the participants to reach equilibrium
99 * with respect to knowledge about each other.
1010 */
11- public static final String CONF_KEY_INITIAL_ADMIN_UI_DELAY = "initial.admin.ui .delay" ;
11+ public static final String CONF_KEY_INITIAL_METADATA_DELAY = "initial.metadata .delay" ;
1212
1313}
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public void syncKIs() {
105105 // to receive the initial state, we do a single Ask (after sleeping for a
106106 // specific amount of time)
107107 try {
108- Thread .sleep (ConfigProvider .getConfig ().getValue (AdminUIConfig .CONF_KEY_INITIAL_ADMIN_UI_DELAY ,
108+ Thread .sleep (ConfigProvider .getConfig ().getValue (AdminUIConfig .CONF_KEY_INITIAL_METADATA_DELAY ,
109109 Integer .class ));
110110 } catch (InterruptedException e ) {
111111 LOG .error ("Initial metadata KB delay should not fail." , e );
Original file line number Diff line number Diff line change 1- initial.admin.ui .delay = 5000
1+ initial.metadata .delay = 5000
You can’t perform that action at this time.
0 commit comments