]> _ Git - tortuga-home.git/commitdiff
.
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Sat, 29 Oct 2022 10:02:04 +0000 (12:02 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Sat, 29 Oct 2022 10:02:04 +0000 (12:02 +0200)
.idea/workspace.xml
scripts/lib/scenes.php

index b29452da869a62efb60aebd9ac3d57e1679d012d..0a4532e3f84b7b5d96ce121d76593e4ad67077b5 100644 (file)
       <workItem from="1666248330245" duration="464000" />
       <workItem from="1666784917537" duration="5088000" />
       <workItem from="1666847531867" duration="852000" />
-      <workItem from="1666856719410" duration="662000" />
-    </task>
-    <task id="LOCAL-00489" summary=".">
-      <created>1622664420441</created>
-      <option name="number" value="00489" />
-      <option name="presentableId" value="LOCAL-00489" />
-      <option name="project" value="LOCAL" />
-      <updated>1622664420442</updated>
+      <workItem from="1666856719410" duration="668000" />
+      <workItem from="1666880430659" duration="1177000" />
+      <workItem from="1667037570905" duration="73000" />
     </task>
     <task id="LOCAL-00490" summary=".">
       <created>1622706612279</created>
       <option name="project" value="LOCAL" />
       <updated>1666848366044</updated>
     </task>
-    <option name="localTasksCounter" value="538" />
+    <task id="LOCAL-00538" summary=".">
+      <created>1666859483883</created>
+      <option name="number" value="00538" />
+      <option name="presentableId" value="LOCAL-00538" />
+      <option name="project" value="LOCAL" />
+      <updated>1666859483883</updated>
+    </task>
+    <option name="localTasksCounter" value="539" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
index 0d020162267c7897bcebebc7756e889655ce717d..f6d5d2a622a82a2496f672e74fa6b25db5fa366e 100644 (file)
@@ -1317,11 +1317,11 @@ function wcVMCOff($timeout = 'auto')
     if ($timeout === 'auto') {
         $d = time() - getState('lastVMCOn');
         if ($d <= 120) {
-            $timeout = 600;
-        } else if ($d > 120 && $d <= 300) {
-            $timeout = 900;
-        } else {
             $timeout = 1200;
+        } else if ($d <= 300) {
+            $timeout = 1800;
+        } else {
+            $timeout = 3200;
         }
     }
     $t = time() + $timeout;