File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
java-ai/src/main/java/oracleai/aiholo Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,14 @@ public AIHoloController() {
51
51
52
52
private void startInactivityMonitor () {
53
53
scheduler .scheduleAtFixedRate (() -> {
54
- long currentTime = System .currentTimeMillis ();
55
- if (currentTime - lastRequestTime > TimeUnit .MINUTES .toMillis (10 )) {
56
- sendToAudio2Face ("testing123-brazil.wav" );
57
- lastRequestTime = currentTime ; // Reset timer to prevent repeated execution
58
- }
59
- }, 1 , 3 , TimeUnit .MINUTES );
54
+ System .out .println ("about to say testing 1 2 3..." );
55
+ sendToAudio2Face ("testing123-brazil.wav" );
56
+ // long currentTime = System.currentTimeMillis();
57
+ // if (currentTime - lastRequestTime > TimeUnit.MINUTES.toMillis(2)) {
58
+ // sendToAudio2Face("testing123-brazil.wav");
59
+ // lastRequestTime = currentTime; // Reset timer to prevent repeated execution
60
+ // }
61
+ }, 1 , 1 , TimeUnit .MINUTES );
60
62
}
61
63
62
64
You can’t perform that action at this time.
0 commit comments