You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a globals class which can be included by all transportpce subprojects (at least those with manual delays) and define these delay values there and so replace them with the variable values.
They should be the same as before, but overridable by env var
Maybe transportpce/common is the best location for this
Example
package org.opendaylight.transportpce.common;
public class Globals {
public static int SLEEP_10000 = getEnvOrDefault(SLEEP_10000,10000);
}
private static int getEnvOrDefault(String envVar, int def) {
...
}
to find all sleep commands in the transportpce code
Add a globals class which can be included by all transportpce subprojects (at least those with manual delays) and define these delay values there and so replace them with the variable values.
They should be the same as before, but overridable by env var
Maybe transportpce/common is the best location for this
Example
to find all sleep commands in the transportpce code
The text was updated successfully, but these errors were encountered: