Adjust timeout. Verup.

This commit is contained in:
2025-12-30 22:49:29 +09:00
parent 3e638cd100
commit b0b3392c91
16 changed files with 18 additions and 16 deletions
+3 -2
View File
@@ -3,7 +3,7 @@
%%% @end
-module(gd_con).
-vsn("0.8.0").
-vsn("0.8.1").
-author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <info@qpq.swiss>").
-license("GPL-3.0-or-later").
@@ -356,6 +356,7 @@ init(none) ->
GUI_Prefs = maps:get(gd_gui, Prefs, #{}),
Window = gd_gui:start_link(GUI_Prefs),
Wallets = get_prefs(wallets, Prefs, []),
ok = hz:timeout(default_tic()),
MS = default_tic(),
T = erlang:send_after(MS, self(), tic),
State = #s{window = Window, timer = {T, MS}, wallets = Wallets, prefs = Prefs},
@@ -376,7 +377,7 @@ read_prefs() ->
default_tic() ->
6000.
10_000.