I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 00879577 authored by jrandom's avatar jrandom Committed by zzz
Browse files

allow the timestamper to be started up while disabled

parent 834fb7e3
No related branches found
No related tags found
No related merge requests found
......@@ -34,11 +34,12 @@ public class Timestamper implements Runnable {
if (_log.shouldLog(Log.INFO))
_log.info("Starting timestamper pointing at " + _targetURL);
synchronized (Timestamper.class) {
String enabled = System.getProperty("timestamper.enabled");
String enabled = System.getProperty("timestamper.started");
if (enabled != null) {
_log.warn("Timestamper already running");
return;
} else {
System.setProperty("timestamper.started", "true");
System.setProperty("timestamper.enabled", "true");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment