File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/java/io/temporal/samples/autoheartbeat Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public ScheduledFuture<?> start() {
6666 + printShortCurrentTime ());
6767 context .heartbeat (details );
6868 } catch (Exception e ) {
69- System .out .println ("Stopping: " + e .getMessage ());
69+ System .out .println ("Stopping Autoheartbeater[" + heartbeaterId + "] : " + e .getMessage ());
7070 stop ();
7171 }
7272 },
@@ -76,7 +76,7 @@ public ScheduledFuture<?> start() {
7676 }
7777
7878 public void stop () {
79- System .out .println ("Autoheartbeater being requested to stop." );
79+ System .out .println ("Autoheartbeater[" + heartbeaterId + "] being requested to stop." );
8080 // Try not to execute another heartbeat that could have been queued up
8181 timerService .shutdownNow ();
8282 }
You can’t perform that action at this time.
0 commit comments