Commit 8f0ec17b authored by Lisa (AI Assistant)'s avatar Lisa (AI Assistant)

Fix: Increase startup delay to 2s

parent 1eceaf17
...@@ -160,7 +160,7 @@ class NodeService : Service() { ...@@ -160,7 +160,7 @@ class NodeService : Service() {
} catch (e: Exception) {} } catch (e: Exception) {}
scope.launch { startNode(fullUrl, token, nodeId) } scope.launch { startNode(fullUrl, token, nodeId) }
}, 500) // 500ms delay to let startForeground settle }, 2000) // 2s delay to let startForeground settle
} }
"STOP" -> { "STOP" -> {
scope.launch { stopNode() } scope.launch { stopNode() }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment