From 18812a891bdb4ed45de81e3f98cf7b8343a5244e Mon Sep 17 00:00:00 2001
From: Mylloon <kennel.anri@tutanota.com>
Date: Sat, 23 Nov 2024 19:22:14 +0100
Subject: [PATCH] double time before restarting

---
 AutoOBSRBRestart.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/AutoOBSRBRestart.lua b/AutoOBSRBRestart.lua
index 7d9d30d..a4b29f9 100644
--- a/AutoOBSRBRestart.lua
+++ b/AutoOBSRBRestart.lua
@@ -52,7 +52,7 @@ function check_idle()
 
     print("No activity detected, restart replay buffer")
     obs.obs_frontend_replay_buffer_stop()
-    obs.timer_add(start_replay_buffer, 2000)
+    obs.timer_add(start_replay_buffer, 4000)
   else
     obs.timer_add(check_idle, idle_time * 1000)
   end