Skip to content

Commit

Permalink
reduce event timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiko2k committed Dec 24, 2024
1 parent c1e946c commit 8be73f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tauon/t_modules/t_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9000,8 +9000,8 @@ def wake(self) -> None:
tauon = Tauon()

def signal_handler(signum, frame):
signal.signal(signum, signal.SIG_IGN) # ignore additional signals
tauon.exit(reason="SIGINT recieved")
signal.signal(signum, signal.SIG_IGN) # ignore additional signals
tauon.exit(reason="SIGINT recieved")

signal.signal(signal.SIGINT, signal_handler)

Expand Down Expand Up @@ -43866,7 +43866,7 @@ def drop_file(target):
else:
sleep_timer.set()
if sleep_timer.get() > 2:
SDL_WaitEventTimeout(None, 20000)
SDL_WaitEventTimeout(None, 1000)
continue

else:
Expand Down

0 comments on commit 8be73f0

Please sign in to comment.